#FEF2F5

A color in the Red, Pink family

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

Color Codes

HEX#fef2f5
RGBrgb(254 242 245)
RGB (legacy)rgb(254, 242, 245)
RGB %rgb(100% 95% 96%)
HSLhsl(345 86% 97%)
HSV / HSBhsv(345, 5%, 100%)
HWBhwb(345 95% 0%)
CMYKcmyk(0%, 5%, 4%, 0%)
CIELAB (D50)lab(96.51 4.55 0.07)
LCHlch(96.51 4.55 0.85)
OKLaboklab(0.9714 0.0135 0.0001)
OKLCHoklch(0.9714 0.0135 0.26)
Decimal16708341

Properties

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

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

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