#F0C8EA

A color in the Purple, Crimson, Magenta family

#f0c8ea is a color in the Purple, Crimson, Magenta family: RGB(240, 200, 234), HSL(309°, 57%, 86%), CMYK(0%, 17%, 3%, 6%). Closest named color: pink. Contrast is 1.48:1 on white and 14.15:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f0c8ea
RGBrgb(240 200 234)
RGB (legacy)rgb(240, 200, 234)
RGB %rgb(94% 78% 92%)
HSLhsl(309 57% 86%)
HSV / HSBhsv(309, 17%, 94%)
HWBhwb(309 78% 6%)
CMYKcmyk(0%, 17%, 3%, 6%)
CIELAB (D50)lab(84.88 18.79 -11.32)
LCHlch(84.88 21.93 328.94)
OKLaboklab(0.8773 0.0555 -0.0306)
OKLCHoklch(0.8773 0.0633 331.14)
Decimal15780074

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpink ΔE 4.4
Closest web-safe color#ffccff
Hue309°
Saturation (HSL / HSV)57% / 17%
Lightness (HSL)86%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)85% / 83%
Relative luminance (WCAG)0.6577
Red / Green / Blue240 / 200 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.15: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 22.8 / -80.5 · As background with white / black text: Lc -25.9 / 81

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: #f0c8ea;
  --color-brand-oklch: oklch(87.73% 0.0633 331.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(240 200 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f0c8ea] text-[#f0c8ea] border-[#f0c8ea]">