#ED51CB#ED51CB

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

Color values

HEX#ED51CB
RGBrgb(237, 81, 203)
HSLhsl(313, 81%, 62%)
HSVhsv(313, 66%, 93%)
CMYKcmyk(0%, 65.8%, 14.3%, 7.1%)
CIE-LABlab(60.07, 72.05, -32.23)
CIE-LCHlch(60.07, 78.93, 335.90°)
OKLaboklab(68.6% 0.2122 -0.0874)
OKLCHoklch(68.6% 0.23 337.6)
XYZxyz(48.6478, 28.2055, 59.3704)
Luminance0.2820 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED51CB #51ED73
analogous
#C151ED #ED51CB #ED517D
triadic
#ED51CB #CBED51 #51CBED
tetradic
#ED51CB #EDC151 #51ED73 #517DED
square
#ED51CB #EDC151 #51ED73 #517DED
split-complementary
#ED51CB #7DED51 #51EDC1
monochromatic
#B1128F #E71ABA #ED51CB #F388DC #F8C0EC

Accessibility & contrast

On white

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

On black

6.64
#ED51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED51CB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED51CB#FFFFFF#000000##000000
##ED51CB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CF
Deuteranopia (green-blind)
#889AC7
Tritanopia (blue-blind)
#F95887
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ed51cb;
/* rgb */ color: rgb(237, 81, 203);
/* oklch */ color: oklch(68.6% 0.230 337.6);
Tailwind
colors: {
  custom: {
    50: '#f78ddb',
    500: '#ed51cb',
    950: '#000000',
  },
}
SCSS
$custom: #ed51cb;
$custom-light: #f78ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed51cb",
  "rgb": {
    "r": 237,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 313.077,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68596,
    "c": 0.22952,
    "h": 337.6
  },
  "luminance": 0.28201
}

Semantic roles & 50–950 ramp

primary
#ED51CB
secondary
#B0E9BD
accent
#DE3608
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #ED51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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