#ED52D9#ED52D9

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

Color values

HEX#ED52D9
RGBrgb(237, 82, 217)
HSLhsl(308, 81%, 63%)
HSVhsv(308, 65%, 93%)
CMYKcmyk(0%, 65.4%, 8.4%, 7.1%)
CIE-LABlab(60.83, 73.72, -38.98)
CIE-LCHlch(60.83, 83.39, 332.13°)
OKLaboklab(69.35% 0.2128 -0.1066)
OKLCHoklch(69.35% 0.238 333.4)
XYZxyz(50.4670, 29.0529, 68.5820)
Luminance0.2905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED52D9 #52ED66
analogous
#B452ED #ED52D9 #ED528B
triadic
#ED52D9 #D9ED52 #52D9ED
tetradic
#ED52D9 #EDB452 #52ED66 #528BED
square
#ED52D9 #EDB452 #52ED66 #528BED
split-complementary
#ED52D9 #8BED52 #52EDB4
monochromatic
#B2139D #E71BCD #ED52D9 #F389E5 #F9C1F1

Accessibility & contrast

On white

3.08
#ED52D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#ED52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED52D9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED52D9#FFFFFF#000000##000000
##ED52D91.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DD
Deuteranopia (green-blind)
#839BD5
Tritanopia (blue-blind)
#F75F8F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ed52d9;
/* rgb */ color: rgb(237, 82, 217);
/* oklch */ color: oklch(69.3% 0.238 333.4);
Tailwind
colors: {
  custom: {
    50: '#f78de5',
    500: '#ed52d9',
    950: '#000000',
  },
}
SCSS
$custom: #ed52d9;
$custom-light: #f78de5;
$custom-dark: #000000;
JSON
{
  "hex": "#ed52d9",
  "rgb": {
    "r": 237,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 307.742,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69347,
    "c": 0.23805,
    "h": 333.4
  },
  "luminance": 0.29049
}

Semantic roles & 50–950 ramp

primary
#ED52D9
secondary
#B1EAB8
accent
#DE2408
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #ED52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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