#E252AC#E252AC

#E252AC is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 65.8% C 0.201 H 345.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#E252AC
RGBrgb(226, 82, 172)
HSLhsl(323, 71%, 60%)
HSVhsv(323, 64%, 89%)
CMYKcmyk(0%, 63.7%, 23.9%, 11.4%)
CIE-LABlab(57.26, 64.56, -18.91)
CIE-LCHlch(57.26, 67.28, 343.67°)
OKLaboklab(65.8% 0.1947 -0.0501)
OKLCHoklch(65.8% 0.201 345.6)
XYZxyz(41.8292, 25.1860, 41.6802)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252AC #52E288
analogous
#D052E2 #E252AC #E25264
triadic
#E252AC #ACE252 #52ACE2
tetradic
#E252AC #E2D052 #52E288 #5264E2
square
#E252AC #E2D052 #52E288 #5264E2
split-complementary
#E252AC #64E252 #52E2D0
monochromatic
#9F1B6D #D32391 #E252AC #EB86C5 #F4BBDE

Accessibility & contrast

On white

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

On black

6.04
#E252AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252AC#FFFFFF#000000##000000
##E252AC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617AAF
Deuteranopia (green-blind)
#8B92A9
Tritanopia (blue-blind)
#F05078
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e252ac;
/* rgb */ color: rgb(226, 82, 172);
/* oklch */ color: oklch(65.8% 0.201 345.6);
Tailwind
colors: {
  custom: {
    50: '#ef8bc4',
    500: '#e252ac',
    950: '#000000',
  },
}
SCSS
$custom: #e252ac;
$custom-light: #ef8bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e252ac",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 322.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65796,
    "c": 0.20103,
    "h": 345.6
  },
  "luminance": 0.25182
}

Semantic roles & 50–950 ramp

primary
#E252AC
secondary
#ACE3C1
accent
#D35B12
background
#FFF9FC
surface
#FEF1F8
border
#D6CBD1
text
#170D12
muted
#857E81

Preview Lab

Preview with #E252AC

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

Preview Lab → · Contrast checker → · Palette generator →

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