#EC51D1#EC51D1

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

Color values

HEX#EC51D1
RGBrgb(236, 81, 209)
HSLhsl(310, 80%, 62%)
HSVhsv(310, 66%, 93%)
CMYKcmyk(0%, 65.7%, 11.4%, 7.5%)
CIE-LABlab(60.18, 72.67, -35.48)
CIE-LCHlch(60.18, 80.87, 333.98°)
OKLaboklab(68.73% 0.2121 -0.0966)
OKLCHoklch(68.73% 0.233 335.5)
XYZxyz(49.0437, 28.3253, 63.1936)
Luminance0.2832 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC51D1 #51EC6C
analogous
#BA51EC #EC51D1 #EC5183
triadic
#EC51D1 #D1EC51 #51D1EC
tetradic
#EC51D1 #ECBA51 #51EC6C #5183EC
square
#EC51D1 #ECBA51 #51EC6C #5183EC
split-complementary
#EC51D1 #83EC51 #51ECBA
monochromatic
#AF1394 #E61AC2 #EC51D1 #F288E0 #F8BFEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC51D1#FFFFFF#000000##000000
##EC51D11.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)
#5282D5
Deuteranopia (green-blind)
#8599CD
Tritanopia (blue-blind)
#F75B8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec51d1;
/* rgb */ color: rgb(236, 81, 209);
/* oklch */ color: oklch(68.7% 0.233 335.5);
Tailwind
colors: {
  custom: {
    50: '#f68ddf',
    500: '#ec51d1',
    950: '#000000',
  },
}
SCSS
$custom: #ec51d1;
$custom-light: #f68ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec51d1",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 310.452,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6873,
    "c": 0.23303,
    "h": 335.5
  },
  "luminance": 0.28321
}

Semantic roles & 50–950 ramp

primary
#EC51D1
secondary
#B0E9BA
accent
#DD2E09
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC51D1

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

Preview Lab → · Contrast checker → · Palette generator →

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