#E252C8#E252C8

#E252C8 is a light, highly saturated pink. Relative luminance 0.264; OKLCH L 67.0% C 0.219 H 335.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#E252C8
RGBrgb(226, 82, 200)
HSLhsl(311, 71%, 60%)
HSVhsv(311, 64%, 89%)
CMYKcmyk(0%, 63.7%, 11.5%, 11.4%)
CIE-LABlab(58.39, 68.48, -33.27)
CIE-LCHlch(58.39, 76.13, 334.09°)
OKLaboklab(67% 0.1998 -0.0905)
OKLCHoklch(67% 0.219 335.6)
XYZxyz(44.8071, 26.3772, 57.3638)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252C8 #52E26C
analogous
#B452E2 #E252C8 #E25280
triadic
#E252C8 #C8E252 #52C8E2
tetradic
#E252C8 #E2B452 #52E26C #5280E2
square
#E252C8 #E2B452 #52E26C #5280E2
split-complementary
#E252C8 #80E252 #52E2B4
monochromatic
#9F1B87 #D323B4 #E252C8 #EB86D9 #F4BBE9

Accessibility & contrast

On white

3.35
#E252C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#E252C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252C8#FFFFFF#000000##000000
##E252C81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCC
Deuteranopia (green-blind)
#8194C4
Tritanopia (blue-blind)
#ED5B86
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e252c8;
/* rgb */ color: rgb(226, 82, 200);
/* oklch */ color: oklch(67.0% 0.219 335.6);
Tailwind
colors: {
  custom: {
    50: '#ef8cd9',
    500: '#e252c8',
    950: '#000000',
  },
}
SCSS
$custom: #e252c8;
$custom-light: #ef8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#e252c8",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 310.833,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67001,
    "c": 0.21934,
    "h": 335.6
  },
  "luminance": 0.26373
}

Semantic roles & 50–950 ramp

primary
#E252C8
secondary
#ACE3B6
accent
#D33512
background
#FFF9FD
surface
#FEF1FA
border
#D6CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E252C8

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

Preview Lab → · Contrast checker → · Palette generator →

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