#ED51C6#ED51C6

#ED51C6 is a light, highly saturated pink. Relative luminance 0.280; OKLCH L 68.4% C 0.226 H 339.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#ED51C6
RGBrgb(237, 81, 198)
HSLhsl(315, 81%, 62%)
HSVhsv(315, 66%, 93%)
CMYKcmyk(0%, 65.8%, 16.5%, 7.1%)
CIE-LABlab(59.86, 71.35, -29.71)
CIE-LCHlch(59.86, 77.29, 337.39°)
OKLaboklab(68.37% 0.2115 -0.0802)
OKLCHoklch(68.37% 0.226 339.2)
XYZxyz(48.0616, 27.9710, 56.2828)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51C6 #51ED78
analogous
#C651ED #ED51C6 #ED5178
triadic
#ED51C6 #C6ED51 #51C6ED
tetradic
#ED51C6 #EDC651 #51ED78 #5178ED
square
#ED51C6 #EDC651 #51ED78 #5178ED
split-complementary
#ED51C6 #78ED51 #51EDC6
monochromatic
#B1128A #E71AB4 #ED51C6 #F388D8 #F8C0EA

Accessibility & contrast

On white

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

On black

6.59
#ED51C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51C6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51C6#FFFFFF#000000##000000
##ED51C61.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981C9
Deuteranopia (green-blind)
#8A99C2
Tritanopia (blue-blind)
#FA5684
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ed51c6;
/* rgb */ color: rgb(237, 81, 198);
/* oklch */ color: oklch(68.4% 0.226 339.2);
Tailwind
colors: {
  custom: {
    50: '#f78cd7',
    500: '#ed51c6',
    950: '#000000',
  },
}
SCSS
$custom: #ed51c6;
$custom-light: #f78cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51c6",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 315,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68373,
    "c": 0.22619,
    "h": 339.2
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED51C6

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

Preview Lab → · Contrast checker → · Palette generator →

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