#ED51C7#ED51C7

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

Color values

HEX#ED51C7
RGBrgb(237, 81, 199)
HSLhsl(315, 81%, 62%)
HSVhsv(315, 66%, 93%)
CMYKcmyk(0%, 65.8%, 16%, 7.1%)
CIE-LABlab(59.90, 71.49, -30.22)
CIE-LCHlch(59.90, 77.61, 337.09°)
OKLaboklab(68.42% 0.2117 -0.0816)
OKLCHoklch(68.42% 0.227 338.9)
XYZxyz(48.1773, 28.0173, 56.8923)
Luminance0.2801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51C7 #51ED77
analogous
#C551ED #ED51C7 #ED5179
triadic
#ED51C7 #C7ED51 #51C7ED
tetradic
#ED51C7 #EDC551 #51ED77 #5179ED
square
#ED51C7 #EDC551 #51ED77 #5179ED
split-complementary
#ED51C7 #79ED51 #51EDC5
monochromatic
#B1128B #E71AB5 #ED51C7 #F388D9 #F8C0EB

Accessibility & contrast

On white

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

On black

6.60
#ED51C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51C7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51C7#FFFFFF#000000##000000
##ED51C71.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ed51c7;
/* rgb */ color: rgb(237, 81, 199);
/* oklch */ color: oklch(68.4% 0.227 338.9);
Tailwind
colors: {
  custom: {
    50: '#f78cd8',
    500: '#ed51c7',
    950: '#000000',
  },
}
SCSS
$custom: #ed51c7;
$custom-light: #f78cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51c7",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 314.615,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68417,
    "c": 0.22685,
    "h": 338.9
  },
  "luminance": 0.28013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED51C7

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

Preview Lab → · Contrast checker → · Palette generator →

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