#ED52E1#ED52E1

#ED52E1 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.7% C 0.244 H 331.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#ED52E1
RGBrgb(237, 82, 225)
HSLhsl(305, 81%, 63%)
HSVhsv(305, 65%, 93%)
CMYKcmyk(0%, 65.4%, 5.1%, 7.1%)
CIE-LABlab(61.20, 74.94, -42.89)
CIE-LCHlch(61.20, 86.35, 330.22°)
OKLaboklab(69.74% 0.2135 -0.1179)
OKLCHoklch(69.74% 0.244 331.1)
XYZxyz(51.5328, 29.4792, 74.1954)
Luminance0.2948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED52E1 #52ED5E
analogous
#AB52ED #ED52E1 #ED5294
triadic
#ED52E1 #E1ED52 #52E1ED
tetradic
#ED52E1 #EDAB52 #52ED5E #5294ED
square
#ED52E1 #EDAB52 #52ED5E #5294ED
split-complementary
#ED52E1 #94ED52 #52EDAB
monochromatic
#B213A6 #E71BD7 #ED52E1 #F389EB #F9C1F4

Accessibility & contrast

On white

3.05
#ED52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#ED52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED52E1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED52E1#FFFFFF#000000##000000
##ED52E11.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4786E5
Deuteranopia (green-blind)
#7F9BDD
Tritanopia (blue-blind)
#F66293
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ed52e1;
/* rgb */ color: rgb(237, 82, 225);
/* oklch */ color: oklch(69.7% 0.244 331.1);
Tailwind
colors: {
  custom: {
    50: '#f78eeb',
    500: '#ed52e1',
    950: '#000000',
  },
}
SCSS
$custom: #ed52e1;
$custom-light: #f78eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed52e1",
  "rgb": {
    "r": 237,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 304.645,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6974,
    "c": 0.2439,
    "h": 331.1
  },
  "luminance": 0.29475
}

Semantic roles & 50–950 ramp

primary
#ED52E1
secondary
#B1EAB6
accent
#DE1908
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #ED52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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