#F2E2EA

A color in the Purple, Crimson, Magenta family

#f2e2ea is a color in the Purple, Crimson, Magenta family: RGB(242, 226, 234), HSL(330°, 38%, 92%), CMYK(0%, 7%, 3%, 5%). Closest named color: mistyrose. Contrast is 1.25:1 on white and 16.84:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f2e2ea
RGBrgb(242 226 234)
RGB (legacy)rgb(242, 226, 234)
RGB %rgb(95% 89% 92%)
HSLhsl(330 38% 92%)
HSV / HSBhsv(330, 7%, 95%)
HWBhwb(330 89% 5%)
CMYKcmyk(0%, 7%, 3%, 5%)
CIELAB (D50)lab(91.35 6.66 -1.84)
LCHlch(91.35 6.91 344.54)
OKLaboklab(0.9278 0.0197 -0.005)
OKLCHoklch(0.9278 0.0203 345.71)
Decimal15917802

Properties

Color TonePurple, Crimson, Magenta
Closest named colormistyrose ΔE 2.3
Closest web-safe color#ffccff
Hue330°
Saturation (HSL / HSV)38% / 7%
Lightness (HSL)92%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)91% / 90%
Relative luminance (WCAG)0.7921
Red / Green / Blue242 / 226 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.25:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.84:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 12.2 / -91.7 · As background with white / black text: Lc -14.2 / 91.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #f2e2ea;
  --color-brand-oklch: oklch(92.78% 0.0203 345.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 226 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2e2ea] text-[#f2e2ea] border-[#f2e2ea]">