#EC517C#EC517C

#EC517C is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.6% C 0.192 H 7.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#EC517C
RGBrgb(236, 81, 124)
HSLhsl(343, 80%, 62%)
HSVhsv(343, 66%, 93%)
CMYKcmyk(0%, 65.7%, 47.5%, 7.5%)
CIE-LABlab(57.25, 62.60, 9.37)
CIE-LCHlch(57.25, 63.30, 8.51°)
OKLaboklab(65.61% 0.1906 0.0244)
OKLCHoklch(65.61% 0.192 7.3)
XYZxyz(41.1759, 25.1782, 21.7564)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC517C #51ECC1
analogous
#EC51C9 #EC517C #EC7451
triadic
#EC517C #7CEC51 #517CEC
tetradic
#EC517C #C9EC51 #51ECC1 #7451EC
square
#EC517C #C9EC51 #51ECC1 #7451EC
split-complementary
#EC517C #51EC74 #51C9EC
monochromatic
#AF133F #E61A52 #EC517C #F288A6 #F8BFCF

Accessibility & contrast

On white

3.48
#EC517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#EC517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC517C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC517C#FFFFFF#000000##000000
##EC517C1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74767D
Deuteranopia (green-blind)
#9C9578
Tritanopia (blue-blind)
#FF3962
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec517c;
/* rgb */ color: rgb(236, 81, 124);
/* oklch */ color: oklch(65.6% 0.192 7.3);
Tailwind
colors: {
  custom: {
    50: '#f88ba1',
    500: '#ec517c',
    950: '#000000',
  },
}
SCSS
$custom: #ec517c;
$custom-light: #f88ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec517c",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 343.355,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65615,
    "c": 0.19218,
    "h": 7.3
  },
  "luminance": 0.25173
}

Semantic roles & 50–950 ramp

primary
#EC517C
secondary
#B0E9D9
accent
#DDA209
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180D0F
muted
#867D7E

Preview Lab

Preview with #EC517C

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

Preview Lab → · Contrast checker → · Palette generator →

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