#E252D9#E252D9

#E252D9 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.232 H 330.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#E252D9
RGBrgb(226, 82, 217)
HSLhsl(304, 71%, 60%)
HSVhsv(304, 64%, 89%)
CMYKcmyk(0%, 63.7%, 4%, 11.4%)
CIE-LABlab(59.17, 71.10, -41.69)
CIE-LCHlch(59.17, 82.42, 329.61°)
OKLaboklab(67.82% 0.2016 -0.1147)
OKLCHoklch(67.82% 0.232 330.4)
XYZxyz(46.9055, 27.2165, 68.4150)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252D9 #52E25B
analogous
#A352E2 #E252D9 #E25291
triadic
#E252D9 #D9E252 #52D9E2
tetradic
#E252D9 #E2A352 #52E25B #5291E2
square
#E252D9 #E2A352 #52E25B #5291E2
split-complementary
#E252D9 #91E252 #52E2A3
monochromatic
#9F1B97 #D323C8 #E252D9 #EB86E5 #F4BBF0

Accessibility & contrast

On white

3.26
#E252D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#E252D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252D9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252D9#FFFFFF#000000##000000
##E252D91.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#7A95D5
Tritanopia (blue-blind)
#EA628F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e252d9;
/* rgb */ color: rgb(226, 82, 217);
/* oklch */ color: oklch(67.8% 0.232 330.4);
Tailwind
colors: {
  custom: {
    50: '#ef8ce5',
    500: '#e252d9',
    950: '#000000',
  },
}
SCSS
$custom: #e252d9;
$custom-light: #ef8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#e252d9",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 303.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67823,
    "c": 0.23193,
    "h": 330.4
  },
  "luminance": 0.27213
}

Semantic roles & 50–950 ramp

primary
#E252D9
secondary
#ACE3B0
accent
#D31E12
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #E252D9

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

Preview Lab → · Contrast checker → · Palette generator →

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