#FEF2F4

A color in the Red, Pink family

#fef2f4 is a color in the Red, Pink family: RGB(254, 242, 244), HSL(350°, 86%, 97%), CMYK(0%, 5%, 4%, 0%). Closest named color: lavenderblush. Contrast is 1.09:1 on white and 19.22:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#fef2f4
RGBrgb(254 242 244)
RGB (legacy)rgb(254, 242, 244)
RGB %rgb(100% 95% 96%)
HSLhsl(350 86% 97%)
HSV / HSBhsv(350, 5%, 100%)
HWBhwb(350 95% 0%)
CMYKcmyk(0%, 5%, 4%, 0%)
CIELAB (D50)lab(96.49 4.42 0.55)
LCHlch(96.49 4.45 7.1)
OKLaboklab(0.9711 0.0131 0.0013)
OKLCHoklch(0.9711 0.0132 5.8)
Decimal16708340

Properties

Color ToneRed, Pink
Closest named colorlavenderblush ΔE 0.6
Closest web-safe color#ffffff
Hue350°
Saturation (HSL / HSV)86% / 5%
Lightness (HSL)97%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)96% / 96%
Relative luminance (WCAG)0.9111
Red / Green / Blue254 / 242 / 244

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.09:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
19.22: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 0 / -101.1 · As background with white / black text: Lc 0 / 99.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: #fef2f4;
  --color-brand-oklch: oklch(97.11% 0.0132 5.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(254 242 244 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fef2f4] text-[#fef2f4] border-[#fef2f4]">