#EC4587#EC4587

#EC4587 is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 64.7% C 0.209 H 0.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#EC4587
RGBrgb(236, 69, 135)
HSLhsl(336, 81%, 60%)
HSVhsv(336, 71%, 93%)
CMYKcmyk(0%, 70.8%, 42.8%, 7.5%)
CIE-LABlab(55.93, 68.04, 0.97)
CIE-LCHlch(55.93, 68.05, 0.82°)
OKLaboklab(64.73% 0.2086 0.0033)
OKLCHoklch(64.73% 0.209 0.9)
XYZxyz(41.0964, 23.8436, 25.3551)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4587 #45ECAA
analogous
#EC45DB #EC4587 #EC5645
triadic
#EC4587 #87EC45 #4587EC
tetradic
#EC4587 #DBEC45 #45ECAA #5645EC
square
#EC4587 #DBEC45 #45ECAA #5645EC
split-complementary
#EC4587 #45EC56 #45DBEC
monochromatic
#A6114C #DD1765 #EC4587 #F27DAB #F7B4CF

Accessibility & contrast

On white

3.64
#EC4587 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#EC4587 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4587
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4587#FFFFFF#000000##000000
##EC45871.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#697289
Deuteranopia (green-blind)
#969283
Tritanopia (blue-blind)
#FF2C61
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ec4587;
/* rgb */ color: rgb(236, 69, 135);
/* oklch */ color: oklch(64.7% 0.209 0.9);
Tailwind
colors: {
  custom: {
    50: '#f885a9',
    500: '#ec4587',
    950: '#000000',
  },
}
SCSS
$custom: #ec4587;
$custom-light: #f885a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4587",
  "rgb": {
    "r": 236,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 336.287,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64734,
    "c": 0.20859,
    "h": 0.9
  },
  "luminance": 0.23838
}

Semantic roles & 50–950 ramp

primary
#EC4587
secondary
#A6E7CD
accent
#F8A930
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C0F
muted
#867D7F

Preview Lab

Preview with #EC4587

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

Preview Lab → · Contrast checker → · Palette generator →

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