#E252D2#E252D2

#E252D2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.227 H 332.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#E252D2
RGBrgb(226, 82, 210)
HSLhsl(307, 71%, 60%)
HSVhsv(307, 64%, 89%)
CMYKcmyk(0%, 63.7%, 7.1%, 11.4%)
CIE-LABlab(58.84, 70.00, -38.25)
CIE-LCHlch(58.84, 79.77, 331.35°)
OKLaboklab(67.48% 0.201 -0.1048)
OKLCHoklch(67.48% 0.227 332.5)
XYZxyz(46.0142, 26.8600, 63.7213)
Luminance0.2686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E252D2 #52E262
analogous
#AA52E2 #E252D2 #E2528A
triadic
#E252D2 #D2E252 #52D2E2
tetradic
#E252D2 #E2AA52 #52E262 #528AE2
square
#E252D2 #E2AA52 #52E262 #528AE2
split-complementary
#E252D2 #8AE252 #52E2AA
monochromatic
#9F1B90 #D323C0 #E252D2 #EB86E0 #F4BBED

Accessibility & contrast

On white

3.30
#E252D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#E252D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E252D2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E252D2#FFFFFF#000000##000000
##E252D21.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#7D95CE
Tritanopia (blue-blind)
#EB5F8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e252d2;
/* rgb */ color: rgb(226, 82, 210);
/* oklch */ color: oklch(67.5% 0.227 332.5);
Tailwind
colors: {
  custom: {
    50: '#ef8ce0',
    500: '#e252d2',
    950: '#000000',
  },
}
SCSS
$custom: #e252d2;
$custom-light: #ef8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#e252d2",
  "rgb": {
    "r": 226,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 306.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67476,
    "c": 0.22664,
    "h": 332.5
  },
  "luminance": 0.26856
}

Semantic roles & 50–950 ramp

primary
#E252D2
secondary
#ACE3B3
accent
#D32812
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E252D2

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

Preview Lab → · Contrast checker → · Palette generator →

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