#EC517A#EC517A

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

Color values

HEX#EC517A
RGBrgb(236, 81, 122)
HSLhsl(344, 80%, 62%)
HSVhsv(344, 66%, 93%)
CMYKcmyk(0%, 65.7%, 48.3%, 7.5%)
CIE-LABlab(57.20, 62.43, 10.48)
CIE-LCHlch(57.20, 63.30, 9.53°)
OKLaboklab(65.56% 0.1899 0.0272)
OKLCHoklch(65.56% 0.192 8.1)
XYZxyz(41.0507, 25.1281, 21.0971)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC517A #51ECC3
analogous
#EC51C8 #EC517A #EC7651
triadic
#EC517A #7AEC51 #517AEC
tetradic
#EC517A #C8EC51 #51ECC3 #7651EC
square
#EC517A #C8EC51 #51ECC3 #7651EC
split-complementary
#EC517A #51EC76 #51C8EC
monochromatic
#AF133C #E61A50 #EC517A #F288A4 #F8BFCE

Accessibility & contrast

On white

3.49
#EC517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#EC517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC517A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC517A#FFFFFF#000000##000000
##EC517A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74767B
Deuteranopia (green-blind)
#9C9576
Tritanopia (blue-blind)
#FF3861
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec517a;
/* rgb */ color: rgb(236, 81, 122);
/* oklch */ color: oklch(65.6% 0.192 8.1);
Tailwind
colors: {
  custom: {
    50: '#f88ba0',
    500: '#ec517a',
    950: '#000000',
  },
}
SCSS
$custom: #ec517a;
$custom-light: #f88ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec517a",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 344.129,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65563,
    "c": 0.19183,
    "h": 8.1
  },
  "luminance": 0.25123
}

Semantic roles & 50–950 ramp

primary
#EC517A
secondary
#B0E9DA
accent
#DDA509
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180D0E
muted
#867D7E

Preview Lab

Preview with #EC517A

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

Preview Lab → · Contrast checker → · Palette generator →

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