CSS named color
MistyRose #FFE4E1
MistyRose (CSS keyword mistyrose) has the hex code #FFE4E1 and the RGB value rgb(255, 228, 225): an off-white with a pink tint.
A pale pink with a hint of peach (#ffe4e1). Often used as a soft error or alert background.
Color codes for MistyRose
| CSS keyword | mistyrose |
|---|---|
| HEX | #FFE4E1 |
| RGB | rgb(255, 228, 225) |
| HSL | hsl(6, 100%, 94%) |
| HWB | hwb(6 88% 0%) |
| OKLCH | oklch(94% 0.03 25.3) |
| CMYK (naive, no ICC profile) | cmyk(0%, 11%, 12%, 0%) |
| Decimal | 16,770,273 |
| Hue family | Whites and off-whites |
Contrast and accessibility
On mistyrose, black text has a contrast ratio of 17.43:1 and passes AAA at any text size; white text reaches 1.20:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on mistyrose | 17.43:1 | Pass | Pass | Pass | Pass | 93.5 |
| White text on mistyrose | 1.20:1 | Fail | Fail | Fail | Fail | −11.7 |
| Mistyrose text on white | 1.20:1 | Fail | Fail | Fail | Fail | 10.0 |
| Mistyrose text on black | 17.43:1 | Pass | Pass | Pass | Pass | −94.1 |
Tints and shades
Each step mixes mistyrose with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, mistyrose, white 25%) in CSS.
Tints (mixed with white)
- 5%
#ffe5e3 - 15%
#ffe8e6 - 25%
#ffebe9 - 35%
#ffedec - 45%
#fff0ef - 55%
#fff3f2 - 65%
#fff6f5 - 75%
#fff8f8 - 85%
#fffbfb - 95%
#fffefe
Shades (mixed with black)
- 5%
#f2d9d6 - 15%
#d9c2bf - 25%
#bfaba9 - 35%
#a69492 - 45%
#8c7d7c - 55%
#736765 - 65%
#59504f - 75%
#403938 - 85%
#262222 - 95%
#0d0b0b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, mistyrose's complementary color is #D5F1F5 (close to lavender), its analogous colors are #FDE3EC and #FCE6D9, and its triadic partners are #DFF1DF and #E1EBFF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #d5f1f5 |
| Analogous | −30°, +30° | #fde3ec#fce6d9 |
| Triadic | +120°, +240° | #dff1df#e1ebff |
| Split-complementary | +150°, +210° | #d7f2ea#d9effd |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
MistyRose is a warm color: its hue is 6° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| antiquewhite | #faebd7 | 2.7 |
| linen | #faf0e6 | 2.9 |
| lavenderblush | #fff0f5 | 3.3 |
Code snippets
.element {
color: mistyrose;
background-color: #ffe4e1;
border-color: rgb(255 228 225);
outline-color: oklch(94% 0.03 25.3);
}<div class="bg-[#ffe4e1] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-mistyrose: #ffe4e1;
}
/* then use bg-mistyrose, text-mistyrose, border-mistyrose */import SwiftUI
extension Color {
static let mistyrose = Color(red: 1.000, green: 0.894, blue: 0.882)
}import androidx.compose.ui.graphics.Color
val Mistyrose = Color(0xFFFFE4E1)import 'package:flutter/material.dart';
const mistyrose = Color(0xFFFFE4E1);<!-- res/values/colors.xml -->
<color name="mistyrose">#FFE4E1</color>Frequently asked questions
- What is the hex code for mistyrose?
- The hex code for mistyrose is #FFE4E1. The same color is rgb(255, 228, 225), hsl(6, 100%, 94%) and oklch(94% 0.03 25.3), and in CSS you can also write the keyword mistyrose directly.
- Is mistyrose a warm or cool color?
- MistyRose is a warm color: its hue is 6° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with mistyrose?
- Rotating the hue in OKLCH while keeping lightness and chroma, mistyrose's complementary color is #D5F1F5 (close to lavender), its analogous colors are #FDE3EC and #FCE6D9, and its triadic partners are #DFF1DF and #E1EBFF. For text on top, black gives the higher contrast.
- Can you use white text on mistyrose?
- White text on mistyrose has a contrast ratio of 1.20:1, which fails AA even for large text under WCAG 2.2. Black text reaches 17.43:1 and passes both AA and AAA. In APCA terms that is Lc −11.7 for white and Lc 93.5 for black.
- What is the RGB value of mistyrose?
- MistyRose is rgb(255, 228, 225): red 255, green 228 and blue 225 on the 0 to 255 scale, or 100.0%, 89.4% and 88.2%. As a decimal integer it is 16770273.
Last reviewed by Arielton Oberek.