#EC5179#EC5179

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

Color values

HEX#EC5179
RGBrgb(236, 81, 121)
HSLhsl(345, 80%, 62%)
HSVhsv(345, 66%, 93%)
CMYKcmyk(0%, 65.7%, 48.7%, 7.5%)
CIE-LABlab(57.18, 62.34, 11.03)
CIE-LCHlch(57.18, 63.31, 10.03°)
OKLaboklab(65.54% 0.1895 0.0285)
OKLCHoklch(65.54% 0.192 8.6)
XYZxyz(40.9890, 25.1034, 20.7724)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5179 #51ECC4
analogous
#EC51C7 #EC5179 #EC7751
triadic
#EC5179 #79EC51 #5179EC
tetradic
#EC5179 #C7EC51 #51ECC4 #7751EC
square
#EC5179 #C7EC51 #51ECC4 #7751EC
split-complementary
#EC5179 #51EC77 #51C7EC
monochromatic
#AF133B #E61A4F #EC5179 #F288A3 #F8BFCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5179#FFFFFF#000000##000000
##EC51791.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)
#74767A
Deuteranopia (green-blind)
#9D9575
Tritanopia (blue-blind)
#FF3861
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec5179;
/* rgb */ color: rgb(236, 81, 121);
/* oklch */ color: oklch(65.5% 0.192 8.6);
Tailwind
colors: {
  custom: {
    50: '#f88b9f',
    500: '#ec5179',
    950: '#000000',
  },
}
SCSS
$custom: #ec5179;
$custom-light: #f88b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5179",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 344.516,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65537,
    "c": 0.19166,
    "h": 8.6
  },
  "luminance": 0.25098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5179

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

Preview Lab → · Contrast checker → · Palette generator →

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