#F2D4E2

A color in the Red, Pink family

#f2d4e2 is a color in the Red, Pink family: RGB(242, 212, 226), HSL(332°, 54%, 89%), CMYK(0%, 12%, 7%, 5%). Closest named color: gainsboro. Contrast is 1.37:1 on white and 15.29:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f2d4e2
RGBrgb(242 212 226)
RGB (legacy)rgb(242, 212, 226)
RGB %rgb(95% 83% 89%)
HSLhsl(332 54% 89%)
HSV / HSBhsv(332, 12%, 95%)
HWBhwb(332 83% 5%)
CMYKcmyk(0%, 12%, 7%, 5%)
CIELAB (D50)lab(87.76 12.5 -2.87)
LCHlch(87.76 12.83 347.06)
OKLaboklab(0.8989 0.0371 -0.0079)
OKLCHoklch(0.8989 0.038 348.01)
Decimal15914210

Properties

Color ToneRed, Pink
Closest named colorgainsboro ΔE 3.8
Closest web-safe color#ffcccc
Hue332°
Saturation (HSL / HSV)54% / 12%
Lightness (HSL)89%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)87% / 86%
Relative luminance (WCAG)0.7146
Red / Green / Blue242 / 212 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.29: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 18.2 / -85.3 · As background with white / black text: Lc -20.8 / 85.5

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: #f2d4e2;
  --color-brand-oklch: oklch(89.89% 0.038 348.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 212 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2d4e2] text-[#f2d4e2] border-[#f2d4e2]">