#FFCFEC

A color in the Purple, Crimson, Magenta family

#ffcfec is a color in the Purple, Crimson, Magenta family: RGB(255, 207, 236), HSL(324°, 100%, 91%), CMYK(0%, 19%, 7%, 0%). Closest named color: pink. Contrast is 1.36:1 on white and 15.39:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ffcfec
RGBrgb(255 207 236)
RGB (legacy)rgb(255, 207, 236)
RGB %rgb(100% 81% 93%)
HSLhsl(324 100% 91%)
HSV / HSBhsv(324, 19%, 100%)
HWBhwb(324 81% 0%)
CMYKcmyk(0%, 19%, 7%, 0%)
CIELAB (D50)lab(88 20.84 -7.6)
LCHlch(88 22.18 339.96)
OKLaboklab(0.9043 0.0621 -0.0207)
OKLCHoklch(0.9043 0.0654 341.6)
Decimal16764908

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpink ΔE 4.8
Closest web-safe color#ffccff
Hue324°
Saturation (HSL / HSV)100% / 19%
Lightness (HSL)91%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)88% / 86%
Relative luminance (WCAG)0.7194
Red / Green / Blue255 / 207 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.39: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 17.8 / -85.8 · As background with white / black text: Lc -20.4 / 85.9

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