#EC5881#EC5881

#EC5881 is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.5% C 0.185 H 6.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#EC5881
RGBrgb(236, 88, 129)
HSLhsl(343, 80%, 64%)
HSVhsv(343, 63%, 93%)
CMYKcmyk(0%, 62.7%, 45.3%, 7.5%)
CIE-LABlab(58.42, 60.22, 8.09)
CIE-LCHlch(58.42, 60.76, 7.65°)
OKLaboklab(66.53% 0.1834 0.0213)
OKLCHoklch(66.53% 0.185 6.6)
XYZxyz(42.0474, 26.4024, 23.6466)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5881 #58ECC3
analogous
#EC58CB #EC5881 #EC7958
triadic
#EC5881 #81EC58 #5881EC
tetradic
#EC5881 #CBEC58 #58ECC3 #7958EC
square
#EC5881 #CBEC58 #58ECC3 #7958EC
split-complementary
#EC5881 #58EC79 #58CBEC
monochromatic
#B51541 #E62158 #EC5881 #F28FAA #F9C6D4

Accessibility & contrast

On white

3.34
#EC5881 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#EC5881 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5881
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5881#FFFFFF#000000##000000
##EC58811.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#777A82
Deuteranopia (green-blind)
#9E977E
Tritanopia (blue-blind)
#FF4468
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5881;
/* rgb */ color: rgb(236, 88, 129);
/* oklch */ color: oklch(66.5% 0.185 6.6);
Tailwind
colors: {
  custom: {
    50: '#f78ea5',
    500: '#ec5881',
    950: '#000000',
  },
}
SCSS
$custom: #ec5881;
$custom-light: #f78ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5881",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 129
  },
  "hsl": {
    "h": 343.378,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.18463,
    "h": 6.6
  },
  "luminance": 0.26397
}

Semantic roles & 50–950 ramp

primary
#EC5881
secondary
#B6EADC
accent
#DCA20A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5881

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

Preview Lab → · Contrast checker → · Palette generator →

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