#EC51C8#EC51C8

#EC51C8 is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.3% C 0.227 H 338.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#EC51C8
RGBrgb(236, 81, 200)
HSLhsl(314, 80%, 62%)
HSVhsv(314, 66%, 93%)
CMYKcmyk(0%, 65.7%, 15.3%, 7.5%)
CIE-LABlab(59.79, 71.38, -30.98)
CIE-LCHlch(59.79, 77.81, 336.54°)
OKLaboklab(68.32% 0.2108 -0.0838)
OKLCHoklch(68.32% 0.227 338.3)
XYZxyz(47.9608, 27.8921, 57.4902)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC51C8 #51EC75
analogous
#C251EC #EC51C8 #EC517B
triadic
#EC51C8 #C8EC51 #51C8EC
tetradic
#EC51C8 #ECC251 #51EC75 #517BEC
square
#EC51C8 #ECC251 #51EC75 #517BEC
split-complementary
#EC51C8 #7BEC51 #51ECC2
monochromatic
#AF138B #E61AB7 #EC51C8 #F288D9 #F8BFEB

Accessibility & contrast

On white

3.19
#EC51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#EC51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC51C8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC51C8#FFFFFF#000000##000000
##EC51C81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CB
Deuteranopia (green-blind)
#8899C4
Tritanopia (blue-blind)
#F95785
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec51c8;
/* rgb */ color: rgb(236, 81, 200);
/* oklch */ color: oklch(68.3% 0.227 338.3);
Tailwind
colors: {
  custom: {
    50: '#f68cd9',
    500: '#ec51c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec51c8;
$custom-light: #f68cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec51c8",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 313.935,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68319,
    "c": 0.22688,
    "h": 338.3
  },
  "luminance": 0.27888
}

Semantic roles & 50–950 ramp

primary
#EC51C8
secondary
#B0E9BD
accent
#DD3A09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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