#ED51C8#ED51C8

#ED51C8 is a light, highly saturated pink. Relative luminance 0.281; OKLCH L 68.5% C 0.228 H 338.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#ED51C8
RGBrgb(237, 81, 200)
HSLhsl(314, 81%, 62%)
HSVhsv(314, 66%, 93%)
CMYKcmyk(0%, 65.8%, 15.6%, 7.1%)
CIE-LABlab(59.95, 71.63, -30.72)
CIE-LCHlch(59.95, 77.94, 336.78°)
OKLaboklab(68.46% 0.2118 -0.0831)
OKLCHoklch(68.46% 0.228 338.6)
XYZxyz(48.2938, 28.0639, 57.5058)
Luminance0.2806 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51C8 #51ED76
analogous
#C451ED #ED51C8 #ED517A
triadic
#ED51C8 #C8ED51 #51C8ED
tetradic
#ED51C8 #EDC451 #51ED76 #517AED
square
#ED51C8 #EDC451 #51ED76 #517AED
split-complementary
#ED51C8 #7AED51 #51EDC4
monochromatic
#B1128C #E71AB6 #ED51C8 #F388DA #F8C0EB

Accessibility & contrast

On white

3.18
#ED51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#ED51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51C8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51C8#FFFFFF#000000##000000
##ED51C81.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#8999C4
Tritanopia (blue-blind)
#FA5785
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ed51c8;
/* rgb */ color: rgb(237, 81, 200);
/* oklch */ color: oklch(68.5% 0.228 338.6);
Tailwind
colors: {
  custom: {
    50: '#f78dd9',
    500: '#ed51c8',
    950: '#000000',
  },
}
SCSS
$custom: #ed51c8;
$custom-light: #f78dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51c8",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 314.231,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.22751,
    "h": 338.6
  },
  "luminance": 0.2806
}

Semantic roles & 50–950 ramp

primary
#ED51C8
secondary
#B0E9BE
accent
#DE3B08
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #ED51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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