#EC51CF#EC51CF

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

Color values

HEX#EC51CF
RGBrgb(236, 81, 207)
HSLhsl(311, 80%, 62%)
HSVhsv(311, 66%, 93%)
CMYKcmyk(0%, 65.7%, 12.3%, 7.5%)
CIE-LABlab(60.09, 72.38, -34.48)
CIE-LCHlch(60.09, 80.17, 334.52°)
OKLaboklab(68.64% 0.2118 -0.0938)
OKLCHoklch(68.64% 0.232 336.1)
XYZxyz(48.7976, 28.2269, 61.8977)
Luminance0.2822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC51CF #51EC6E
analogous
#BC51EC #EC51CF #EC5181
triadic
#EC51CF #CFEC51 #51CFEC
tetradic
#EC51CF #ECBC51 #51EC6E #5181EC
square
#EC51CF #ECBC51 #51EC6E #5181EC
split-complementary
#EC51CF #81EC51 #51ECBC
monochromatic
#AF1392 #E61AC0 #EC51CF #F288DE #F8BFED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC51CF#FFFFFF#000000##000000
##EC51CF1.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)
#5382D3
Deuteranopia (green-blind)
#8699CB
Tritanopia (blue-blind)
#F85A89
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec51cf;
/* rgb */ color: rgb(236, 81, 207);
/* oklch */ color: oklch(68.6% 0.232 336.1);
Tailwind
colors: {
  custom: {
    50: '#f68dde',
    500: '#ec51cf',
    950: '#000000',
  },
}
SCSS
$custom: #ec51cf;
$custom-light: #f68dde;
$custom-dark: #000000;
JSON
{
  "hex": "#ec51cf",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 311.226,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68637,
    "c": 0.23164,
    "h": 336.1
  },
  "luminance": 0.28223
}

Semantic roles & 50–950 ramp

primary
#EC51CF
secondary
#B0E9BB
accent
#DD3009
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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