#ED51C4#ED51C4

#ED51C4 is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.3% C 0.225 H 339.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#ED51C4
RGBrgb(237, 81, 196)
HSLhsl(316, 81%, 62%)
HSVhsv(316, 66%, 93%)
CMYKcmyk(0%, 65.8%, 17.3%, 7.1%)
CIE-LABlab(59.78, 71.07, -28.70)
CIE-LCHlch(59.78, 76.65, 338.01°)
OKLaboklab(68.29% 0.2112 -0.0774)
OKLCHoklch(68.29% 0.225 339.9)
XYZxyz(47.8324, 27.8793, 55.0760)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51C4 #51ED7A
analogous
#C851ED #ED51C4 #ED5176
triadic
#ED51C4 #C4ED51 #51C4ED
tetradic
#ED51C4 #EDC851 #51ED7A #5176ED
square
#ED51C4 #EDC851 #51ED7A #5176ED
split-complementary
#ED51C4 #76ED51 #51EDC8
monochromatic
#B11287 #E71AB1 #ED51C4 #F388D7 #F8C0EA

Accessibility & contrast

On white

3.19
#ED51C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#ED51C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51C4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51C4#FFFFFF#000000##000000
##ED51C41.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C7
Deuteranopia (green-blind)
#8A99C0
Tritanopia (blue-blind)
#FA5583
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ed51c4;
/* rgb */ color: rgb(237, 81, 196);
/* oklch */ color: oklch(68.3% 0.225 339.9);
Tailwind
colors: {
  custom: {
    50: '#f78cd6',
    500: '#ed51c4',
    950: '#000000',
  },
}
SCSS
$custom: #ed51c4;
$custom-light: #f78cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51c4",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 315.769,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68286,
    "c": 0.22489,
    "h": 339.9
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#ED51C4
secondary
#B0E9BF
accent
#DE4008
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #ED51C4

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

Preview Lab → · Contrast checker → · Palette generator →

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