#ED52E2#ED52E2

#ED52E2 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.8% C 0.245 H 330.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#ED52E2
RGBrgb(237, 82, 226)
HSLhsl(304, 81%, 63%)
HSVhsv(304, 65%, 93%)
CMYKcmyk(0%, 65.4%, 4.6%, 7.1%)
CIE-LABlab(61.25, 75.10, -43.37)
CIE-LCHlch(61.25, 86.72, 329.99°)
OKLaboklab(69.79% 0.2136 -0.1193)
OKLCHoklch(69.79% 0.245 330.8)
XYZxyz(51.6696, 29.5340, 74.9160)
Luminance0.2953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED52E2 #52ED5D
analogous
#AA52ED #ED52E2 #ED5295
triadic
#ED52E2 #E2ED52 #52E2ED
tetradic
#ED52E2 #EDAA52 #52ED5D #5295ED
square
#ED52E2 #EDAA52 #52ED5D #5295ED
split-complementary
#ED52E2 #95ED52 #52EDAA
monochromatic
#B213A7 #E71BD9 #ED52E2 #F389EB #F9C1F5

Accessibility & contrast

On white

3.04
#ED52E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#ED52E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED52E2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED52E2#FFFFFF#000000##000000
##ED52E21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#7E9BDE
Tritanopia (blue-blind)
#F66393
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ed52e2;
/* rgb */ color: rgb(237, 82, 226);
/* oklch */ color: oklch(69.8% 0.245 330.8);
Tailwind
colors: {
  custom: {
    50: '#f78eeb',
    500: '#ed52e2',
    950: '#000000',
  },
}
SCSS
$custom: #ed52e2;
$custom-light: #f78eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed52e2",
  "rgb": {
    "r": 237,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 304.258,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6979,
    "c": 0.24465,
    "h": 330.8
  },
  "luminance": 0.2953
}

Semantic roles & 50–950 ramp

primary
#ED52E2
secondary
#B1EAB5
accent
#DE1708
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #ED52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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