#F2CFEC

A color in the Purple, Crimson, Magenta family

#f2cfec is a color in the Purple, Crimson, Magenta family: RGB(242, 207, 236), HSL(310°, 57%, 88%), CMYK(0%, 14%, 2%, 5%). Closest named color: pink. Contrast is 1.41:1 on white and 14.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f2cfec
RGBrgb(242 207 236)
RGB (legacy)rgb(242, 207, 236)
RGB %rgb(95% 81% 93%)
HSLhsl(310 57% 88%)
HSV / HSBhsv(310, 14%, 95%)
HWBhwb(310 81% 5%)
CMYKcmyk(0%, 14%, 2%, 5%)
CIELAB (D50)lab(86.79 16.27 -9.55)
LCHlch(86.79 18.86 329.59)
OKLaboklab(0.8926 0.048 -0.0258)
OKLCHoklch(0.8926 0.0545 331.8)
Decimal15912940

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpink ΔE 5
Closest web-safe color#ffccff
Hue310°
Saturation (HSL / HSV)57% / 14%
Lightness (HSL)88%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)87% / 85%
Relative luminance (WCAG)0.6956
Red / Green / Blue242 / 207 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.91: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 19.7 / -83.7 · As background with white / black text: Lc -22.5 / 84

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: #f2cfec;
  --color-brand-oklch: oklch(89.26% 0.0545 331.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 207 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2cfec] text-[#f2cfec] border-[#f2cfec]">