#ED51CD#ED51CD

#ED51CD is a light, highly saturated pink. Relative luminance 0.283; OKLCH L 68.7% C 0.231 H 337.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#ED51CD
RGBrgb(237, 81, 205)
HSLhsl(312, 81%, 62%)
HSVhsv(312, 66%, 93%)
CMYKcmyk(0%, 65.8%, 13.5%, 7.1%)
CIE-LABlab(60.16, 72.34, -33.23)
CIE-LCHlch(60.16, 79.60, 335.32°)
OKLaboklab(68.69% 0.2125 -0.0902)
OKLCHoklch(68.69% 0.231 337)
XYZxyz(48.8877, 28.3014, 60.6337)
Luminance0.2830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51CD #51ED71
analogous
#BF51ED #ED51CD #ED517F
triadic
#ED51CD #CDED51 #51CDED
tetradic
#ED51CD #EDBF51 #51ED71 #517FED
square
#ED51CD #EDBF51 #51ED71 #517FED
split-complementary
#ED51CD #7FED51 #51EDBF
monochromatic
#B11291 #E71ABD #ED51CD #F388DD #F8C0ED

Accessibility & contrast

On white

3.15
#ED51CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#ED51CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51CD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51CD#FFFFFF#000000##000000
##ED51CD1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#879AC9
Tritanopia (blue-blind)
#F95988
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ed51cd;
/* rgb */ color: rgb(237, 81, 205);
/* oklch */ color: oklch(68.7% 0.231 337.0);
Tailwind
colors: {
  custom: {
    50: '#f78ddc',
    500: '#ed51cd',
    950: '#000000',
  },
}
SCSS
$custom: #ed51cd;
$custom-light: #f78ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51cd",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 312.308,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68687,
    "c": 0.23087,
    "h": 337
  },
  "luminance": 0.28297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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