#EC5C81#EC5C81

#EC5C81 is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.0% C 0.180 H 7.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#EC5C81
RGBrgb(236, 92, 129)
HSLhsl(345, 79%, 64%)
HSVhsv(345, 61%, 93%)
CMYKcmyk(0%, 61%, 45.3%, 7.5%)
CIE-LABlab(59.05, 58.52, 8.98)
CIE-LCHlch(59.05, 59.21, 8.73°)
OKLaboklab(66.99% 0.178 0.0235)
OKLCHoklch(66.99% 0.18 7.5)
XYZxyz(42.3848, 27.0772, 23.7590)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C81 #5CECC7
analogous
#EC5CC9 #EC5C81 #EC7F5C
triadic
#EC5C81 #81EC5C #5C81EC
tetradic
#EC5C81 #C9EC5C #5CECC7 #7F5CEC
square
#EC5C81 #C9EC5C #5CECC7 #7F5CEC
split-complementary
#EC5C81 #5CEC7F #5CC9EC
monochromatic
#B8153F #E62557 #EC5C81 #F293AB #F9CAD6

Accessibility & contrast

On white

3.27
#EC5C81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#EC5C81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C81
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C81#FFFFFF#000000##000000
##EC5C811.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7C82
Deuteranopia (green-blind)
#A0997E
Tritanopia (blue-blind)
#FF496A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5c81;
/* rgb */ color: rgb(236, 92, 129);
/* oklch */ color: oklch(67.0% 0.180 7.5);
Tailwind
colors: {
  custom: {
    50: '#f791a5',
    500: '#ec5c81',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c81;
$custom-light: #f791a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c81",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 129
  },
  "hsl": {
    "h": 344.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.17959,
    "h": 7.5
  },
  "luminance": 0.27072
}

Semantic roles & 50–950 ramp

primary
#EC5C81
secondary
#B9EBDE
accent
#DBA60A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5C81

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

Preview Lab → · Contrast checker → · Palette generator →

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