#E252AB#E252AB

#E252AB is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.8% C 0.200 H 345.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#E252AB
RGBrgb(226, 82, 171)
HSLhsl(323, 71%, 60%)
HSVhsv(323, 64%, 89%)
CMYKcmyk(0%, 63.7%, 24.3%, 11.4%)
CIE-LABlab(57.22, 64.43, -18.39)
CIE-LCHlch(57.22, 67.00, 344.07°)
OKLaboklab(65.76% 0.1945 -0.0487)
OKLCHoklch(65.76% 0.2 345.9)
XYZxyz(41.7336, 25.1477, 41.1763)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252AB #52E289
analogous
#D152E2 #E252AB #E25263
triadic
#E252AB #ABE252 #52ABE2
tetradic
#E252AB #E2D152 #52E289 #5263E2
square
#E252AB #E2D152 #52E289 #5263E2
split-complementary
#E252AB #63E252 #52E2D1
monochromatic
#9F1B6C #D32390 #E252AB #EB86C4 #F4BBDE

Accessibility & contrast

On white

3.48
#E252AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#E252AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252AB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252AB#FFFFFF#000000##000000
##E252AB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#8B92A8
Tritanopia (blue-blind)
#F14F77
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e252ab;
/* rgb */ color: rgb(226, 82, 171);
/* oklch */ color: oklch(65.8% 0.200 345.9);
Tailwind
colors: {
  custom: {
    50: '#ef8bc4',
    500: '#e252ab',
    950: '#000000',
  },
}
SCSS
$custom: #e252ab;
$custom-light: #ef8bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e252ab",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 322.917,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65757,
    "c": 0.20045,
    "h": 345.9
  },
  "luminance": 0.25144
}

Semantic roles & 50–950 ramp

primary
#E252AB
secondary
#ACE3C1
accent
#D35C12
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170D12
muted
#857D81

Preview Lab

Preview with #E252AB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E252AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva