#EC5786#EC5786

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

Color values

HEX#EC5786
RGBrgb(236, 87, 134)
HSLhsl(341, 80%, 63%)
HSVhsv(341, 63%, 93%)
CMYKcmyk(0%, 63.1%, 43.2%, 7.5%)
CIE-LABlab(58.39, 61.11, 5.12)
CIE-LCHlch(58.39, 61.32, 4.79°)
OKLaboklab(66.55% 0.1865 0.0139)
OKLCHoklch(66.55% 0.187 4.3)
XYZxyz(42.3064, 26.3756, 25.4127)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5786 #57ECBD
analogous
#EC57D0 #EC5786 #EC7257
triadic
#EC5786 #86EC57 #5786EC
tetradic
#EC5786 #D0EC57 #57ECBD #7257EC
square
#EC5786 #D0EC57 #57ECBD #7257EC
split-complementary
#EC5786 #57EC72 #57D0EC
monochromatic
#B41447 #E6205E #EC5786 #F28EAE #F8C5D5

Accessibility & contrast

On white

3.35
#EC5786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#EC5786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5786
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5786#FFFFFF#000000##000000
##EC57861.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#757A87
Deuteranopia (green-blind)
#9D9783
Tritanopia (blue-blind)
#FF4469
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5786;
/* rgb */ color: rgb(236, 87, 134);
/* oklch */ color: oklch(66.5% 0.187 4.3);
Tailwind
colors: {
  custom: {
    50: '#f78ea9',
    500: '#ec5786',
    950: '#000000',
  },
}
SCSS
$custom: #ec5786;
$custom-light: #f78ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5786",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 341.074,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66548,
    "c": 0.187,
    "h": 4.3
  },
  "luminance": 0.2637
}

Semantic roles & 50–950 ramp

primary
#EC5786
secondary
#B5EAD9
accent
#DC9A0A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5786

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

Preview Lab → · Contrast checker → · Palette generator →

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