#FEF2F2

A color in the Red, Pink family

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

Color Codes

HEX#fef2f2
RGBrgb(254 242 242)
RGB (legacy)rgb(254, 242, 242)
RGB %rgb(100% 95% 95%)
HSLhsl(0 86% 97%)
HSV / HSBhsv(0, 5%, 100%)
HWBhwb(0 95% 0%)
CMYKcmyk(0%, 5%, 5%, 0%)
CIELAB (D50)lab(96.45 4.17 1.52)
LCHlch(96.45 4.44 20)
OKLaboklab(0.9705 0.0124 0.0039)
OKLCHoklch(0.9705 0.0129 17.38)
Decimal16708338

Properties

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

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.20: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 · As background with white / black text: Lc 0 / 99.8

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: #fef2f2;
  --color-brand-oklch: oklch(97.05% 0.0129 17.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(254 242 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fef2f2] text-[#fef2f2] border-[#fef2f2]">