#EC51CB#EC51CB

#EC51CB is a light, highly saturated pink. Relative luminance 0.280; OKLCH L 68.5% C 0.229 H 337.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#EC51CB
RGBrgb(236, 81, 203)
HSLhsl(313, 80%, 62%)
HSVhsv(313, 66%, 93%)
CMYKcmyk(0%, 65.7%, 14%, 7.5%)
CIE-LABlab(59.92, 71.80, -32.48)
CIE-LCHlch(59.92, 78.81, 335.66°)
OKLaboklab(68.45% 0.2113 -0.0881)
OKLCHoklch(68.45% 0.229 337.4)
XYZxyz(48.3148, 28.0338, 59.3548)
Luminance0.2803 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC51CB #51EC72
analogous
#BF51EC #EC51CB #EC517E
triadic
#EC51CB #CBEC51 #51CBEC
tetradic
#EC51CB #ECBF51 #51EC72 #517EEC
square
#EC51CB #ECBF51 #51EC72 #517EEC
split-complementary
#EC51CB #7EEC51 #51ECBF
monochromatic
#AF138E #E61ABB #EC51CB #F288DB #F8BFEC

Accessibility & contrast

On white

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

On black

6.61
#EC51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC51CB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC51CB#FFFFFF#000000##000000
##EC51CB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CF
Deuteranopia (green-blind)
#8799C7
Tritanopia (blue-blind)
#F85987
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec51cb;
/* rgb */ color: rgb(236, 81, 203);
/* oklch */ color: oklch(68.5% 0.229 337.4);
Tailwind
colors: {
  custom: {
    50: '#f68cdb',
    500: '#ec51cb',
    950: '#000000',
  },
}
SCSS
$custom: #ec51cb;
$custom-light: #f68cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec51cb",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 312.774,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.2289,
    "h": 337.4
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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