#FFB4E2

A color in the Purple, Crimson, Magenta family

#ffb4e2 is a color in the Purple, Crimson, Magenta family: RGB(255, 180, 226), HSL(323°, 100%, 85%), CMYK(0%, 29%, 11%, 0%). Closest named color: lightpink. Contrast is 1.63:1 on white and 12.88:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ffb4e2
RGBrgb(255 180 226)
RGB (legacy)rgb(255, 180, 226)
RGB %rgb(100% 71% 89%)
HSLhsl(323 100% 85%)
HSV / HSBhsv(323, 29%, 100%)
HWBhwb(323 71% 0%)
CMYKcmyk(0%, 29%, 11%, 0%)
CIELAB (D50)lab(81.61 33.02 -11.69)
LCHlch(81.61 35.03 340.5)
OKLaboklab(0.8539 0.0992 -0.0319)
OKLCHoklch(0.8539 0.1042 342.16)
Decimal16757986

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlightpink ΔE 4.8
Closest web-safe color#ffcccc
Hue323°
Saturation (HSL / HSV)100% / 29%
Lightness (HSL)85%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)81% / 78%
Relative luminance (WCAG)0.5939
Red / Green / Blue255 / 180 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.63:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.88: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 28 / -74.9 · As background with white / black text: Lc -31.6 / 75.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: #ffb4e2;
  --color-brand-oklch: oklch(85.39% 0.1042 342.16);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 180 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ffb4e2] text-[#ffb4e2] border-[#ffb4e2]">