#ED51CC#ED51CC

#ED51CC is a light, highly saturated pink. Relative luminance 0.282; OKLCH L 68.6% C 0.230 H 337.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#ED51CC
RGBrgb(237, 81, 204)
HSLhsl(313, 81%, 62%)
HSVhsv(313, 66%, 93%)
CMYKcmyk(0%, 65.8%, 13.9%, 7.1%)
CIE-LABlab(60.12, 72.19, -32.73)
CIE-LCHlch(60.12, 79.27, 335.61°)
OKLaboklab(68.64% 0.2124 -0.0888)
OKLCHoklch(68.64% 0.23 337.3)
XYZxyz(48.7674, 28.2533, 60.0000)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51CC #51ED72
analogous
#C051ED #ED51CC #ED517E
triadic
#ED51CC #CCED51 #51CCED
tetradic
#ED51CC #EDC051 #51ED72 #517EED
square
#ED51CC #EDC051 #51ED72 #517EED
split-complementary
#ED51CC #7EED51 #51EDC0
monochromatic
#B11290 #E71ABC #ED51CC #F388DC #F8C0ED

Accessibility & contrast

On white

3.16
#ED51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#ED51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51CC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51CC#FFFFFF#000000##000000
##ED51CC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#F95988
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ed51cc;
/* rgb */ color: rgb(237, 81, 204);
/* oklch */ color: oklch(68.6% 0.230 337.3);
Tailwind
colors: {
  custom: {
    50: '#f78ddc',
    500: '#ed51cc',
    950: '#000000',
  },
}
SCSS
$custom: #ed51cc;
$custom-light: #f78ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51cc",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 312.692,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68642,
    "c": 0.23019,
    "h": 337.3
  },
  "luminance": 0.28249
}

Semantic roles & 50–950 ramp

primary
#ED51CC
secondary
#B0E9BC
accent
#DE3508
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #ED51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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