#FEF2F3

A color in the Red, Pink family

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

Color Codes

HEX#fef2f3
RGBrgb(254 242 243)
RGB (legacy)rgb(254, 242, 243)
RGB %rgb(100% 95% 95%)
HSLhsl(355 86% 97%)
HSV / HSBhsv(355, 5%, 100%)
HWBhwb(355 95% 0%)
CMYKcmyk(0%, 5%, 4%, 0%)
CIELAB (D50)lab(96.47 4.29 1.03)
LCHlch(96.47 4.42 13.54)
OKLaboklab(0.9708 0.0127 0.0026)
OKLCHoklch(0.9708 0.013 11.54)
Decimal16708339

Properties

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

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