Skip to content

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.

MistyRose#FFE4E1

A pale pink with a hint of peach (#ffe4e1). Often used as a soft error or alert background.

Color codes for MistyRose

Color codes for MistyRose
CSS keywordmistyrose
HEX#FFE4E1
RGBrgb(255, 228, 225)
HSLhsl(6, 100%, 94%)
HWBhwb(6 88% 0%)
OKLCHoklch(94% 0.03 25.3)
CMYK (naive, no ICC profile)cmyk(0%, 11%, 12%, 0%)
Decimal16,770,273
Hue familyWhites 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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on mistyrose17.43:1PassPassPassPass93.5
White text on mistyrose1.20:1FailFailFailFail−11.7
Mistyrose text on white1.20:1FailFailFailFail10.0
Mistyrose text on black17.43:1PassPassPassPass−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)

  1. 5%
    #ffe5e3
  2. 15%
    #ffe8e6
  3. 25%
    #ffebe9
  4. 35%
    #ffedec
  5. 45%
    #fff0ef
  6. 55%
    #fff3f2
  7. 65%
    #fff6f5
  8. 75%
    #fff8f8
  9. 85%
    #fffbfb
  10. 95%
    #fffefe

Shades (mixed with black)

  1. 5%
    #f2d9d6
  2. 15%
    #d9c2bf
  3. 25%
    #bfaba9
  4. 35%
    #a69492
  5. 45%
    #8c7d7c
  6. 55%
    #736765
  7. 65%
    #59504f
  8. 75%
    #403938
  9. 85%
    #262222
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
antiquewhite#faebd72.7
linen#faf0e62.9
lavenderblush#fff0f53.3

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
red-100#ffe2e20.6
rose-100#ffe4e60.7
pink-100#fce7f32.3

Code snippets

CSS
.element {
  color: mistyrose;
  background-color: #ffe4e1;
  border-color: rgb(255 228 225);
  outline-color: oklch(94% 0.03 25.3);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let mistyrose = Color(red: 1.000, green: 0.894, blue: 0.882)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Mistyrose = Color(0xFFFFE4E1)
Flutter
import 'package:flutter/material.dart';

const mistyrose = Color(0xFFFFE4E1);
Android XML
<!-- 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.