#F0E7EA

A color in the Red, Pink family

#f0e7ea is a color in the Red, Pink family: RGB(240, 231, 234), HSL(340°, 23%, 92%), CMYK(0%, 4%, 3%, 6%). Closest named color: mistyrose. Contrast is 1.21:1 on white and 17.32:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f0e7ea
RGBrgb(240 231 234)
RGB (legacy)rgb(240, 231, 234)
RGB %rgb(94% 91% 92%)
HSLhsl(340 23% 92%)
HSV / HSBhsv(340, 4%, 94%)
HWBhwb(340 91% 6%)
CMYKcmyk(0%, 4%, 3%, 6%)
CIELAB (D50)lab(92.43 3.54 -0.32)
LCHlch(92.43 3.55 354.83)
OKLaboklab(0.9359 0.0105 -0.0009)
OKLCHoklch(0.9359 0.0105 354.91)
Decimal15788010

Properties

Color ToneRed, Pink
Closest named colormistyrose ΔE 2.2
Closest web-safe color#ffffff
Hue340°
Saturation (HSL / HSV)23% / 4%
Lightness (HSL)92%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)92% / 91%
Relative luminance (WCAG)0.8162
Red / Green / Blue240 / 231 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.32: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 10.4 / -93.7 · As background with white / black text: Lc -12.2 / 93.1

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