#EC5B87#EC5B87

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

Color values

HEX#EC5B87
RGBrgb(236, 91, 135)
HSLhsl(342, 79%, 64%)
HSVhsv(342, 61%, 93%)
CMYKcmyk(0%, 61.4%, 42.8%, 7.5%)
CIE-LABlab(59.04, 59.53, 5.47)
CIE-LCHlch(59.04, 59.78, 5.25°)
OKLaboklab(67.04% 0.1815 0.0147)
OKLCHoklch(67.04% 0.182 4.6)
XYZxyz(42.7093, 27.0693, 25.8927)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5B87 #5BECC0
analogous
#EC5BD0 #EC5B87 #EC785B
triadic
#EC5B87 #87EC5B #5B87EC
tetradic
#EC5B87 #D0EC5B #5BECC0 #785BEC
square
#EC5B87 #D0EC5B #5BECC0 #785BEC
split-complementary
#EC5B87 #5BEC78 #5BD0EC
monochromatic
#B71546 #E6245F #EC5B87 #F292AF #F9C9D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5B87#FFFFFF#000000##000000
##EC5B871.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)
#787C88
Deuteranopia (green-blind)
#9E9984
Tritanopia (blue-blind)
#FF496C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5b87;
/* rgb */ color: rgb(236, 91, 135);
/* oklch */ color: oklch(67.0% 0.182 4.6);
Tailwind
colors: {
  custom: {
    50: '#f790a9',
    500: '#ec5b87',
    950: '#000000',
  },
}
SCSS
$custom: #ec5b87;
$custom-light: #f790a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5b87",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 341.793,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67038,
    "c": 0.18213,
    "h": 4.6
  },
  "luminance": 0.27064
}

Semantic roles & 50–950 ramp

primary
#EC5B87
secondary
#B8EBDB
accent
#DC9C0A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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