#EC5887#EC5887

#EC5887 is a light, vivid pink. Relative luminance 0.266; OKLCH L 66.7% C 0.186 H 4.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#EC5887
RGBrgb(236, 88, 135)
HSLhsl(341, 80%, 64%)
HSVhsv(341, 63%, 93%)
CMYKcmyk(0%, 62.7%, 42.8%, 7.5%)
CIE-LABlab(58.57, 60.79, 4.80)
CIE-LCHlch(58.57, 60.98, 4.51°)
OKLaboklab(66.69% 0.1855 0.013)
OKLCHoklch(66.69% 0.186 4)
XYZxyz(42.4580, 26.5666, 25.8090)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5887 #58ECBD
analogous
#EC58D1 #EC5887 #EC7358
triadic
#EC5887 #87EC58 #5887EC
tetradic
#EC5887 #D1EC58 #58ECBD #7358EC
square
#EC5887 #D1EC58 #58ECBD #7358EC
split-complementary
#EC5887 #58EC73 #58D1EC
monochromatic
#B51548 #E62160 #EC5887 #F28FAE #F9C6D6

Accessibility & contrast

On white

3.33
#EC5887 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#EC5887 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5887
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5887#FFFFFF#000000##000000
##EC58871.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#767B88
Deuteranopia (green-blind)
#9D9884
Tritanopia (blue-blind)
#FF466A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5887;
/* rgb */ color: rgb(236, 88, 135);
/* oklch */ color: oklch(66.7% 0.186 4.0);
Tailwind
colors: {
  custom: {
    50: '#f78fa9',
    500: '#ec5887',
    950: '#000000',
  },
}
SCSS
$custom: #ec5887;
$custom-light: #f78fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5887",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 340.946,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6669,
    "c": 0.18598,
    "h": 4
  },
  "luminance": 0.26562
}

Semantic roles & 50–950 ramp

primary
#EC5887
secondary
#B6EAD9
accent
#DC990A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5887

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

Preview Lab → · Contrast checker → · Palette generator →

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