#ED52D8#ED52D8

#ED52D8 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.3% C 0.237 H 333.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#ED52D8
RGBrgb(237, 82, 216)
HSLhsl(308, 81%, 63%)
HSVhsv(308, 65%, 93%)
CMYKcmyk(0%, 65.4%, 8.9%, 7.1%)
CIE-LABlab(60.78, 73.57, -38.49)
CIE-LCHlch(60.78, 83.03, 332.39°)
OKLaboklab(69.3% 0.2127 -0.1052)
OKLCHoklch(69.3% 0.237 333.7)
XYZxyz(50.3373, 29.0010, 67.8990)
Luminance0.2900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED52D8 #52ED67
analogous
#B452ED #ED52D8 #ED528A
triadic
#ED52D8 #D8ED52 #52D8ED
tetradic
#ED52D8 #EDB452 #52ED67 #528AED
square
#ED52D8 #EDB452 #52ED67 #528AED
split-complementary
#ED52D8 #8AED52 #52EDB4
monochromatic
#B2139C #E71BCC #ED52D8 #F389E4 #F9C1F1

Accessibility & contrast

On white

3.09
#ED52D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#ED52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED52D8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED52D8#FFFFFF#000000##000000
##ED52D81.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DC
Deuteranopia (green-blind)
#839BD4
Tritanopia (blue-blind)
#F75F8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ed52d8;
/* rgb */ color: rgb(237, 82, 216);
/* oklch */ color: oklch(69.3% 0.237 333.7);
Tailwind
colors: {
  custom: {
    50: '#f78de4',
    500: '#ed52d8',
    950: '#000000',
  },
}
SCSS
$custom: #ed52d8;
$custom-light: #f78de4;
$custom-dark: #000000;
JSON
{
  "hex": "#ed52d8",
  "rgb": {
    "r": 237,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 308.129,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69299,
    "c": 0.23733,
    "h": 333.7
  },
  "luminance": 0.28997
}

Semantic roles & 50–950 ramp

primary
#ED52D8
secondary
#B1EAB9
accent
#DE2508
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D15
muted
#867E84

Preview Lab

Preview with #ED52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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