#EC5C88#EC5C88

#EC5C88 is a light, vivid pink. Relative luminance 0.273; OKLCH L 67.2% C 0.181 H 4.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#EC5C88
RGBrgb(236, 92, 136)
HSLhsl(342, 79%, 64%)
HSVhsv(342, 61%, 93%)
CMYKcmyk(0%, 61%, 42.4%, 7.5%)
CIE-LABlab(59.22, 59.20, 5.15)
CIE-LCHlch(59.22, 59.42, 4.97°)
OKLaboklab(67.18% 0.1805 0.0139)
OKLCHoklch(67.18% 0.181 4.4)
XYZxyz(42.8661, 27.2697, 26.2940)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C88 #5CECC0
analogous
#EC5CD0 #EC5C88 #EC785C
triadic
#EC5C88 #88EC5C #5C88EC
tetradic
#EC5C88 #D0EC5C #5CECC0 #785CEC
square
#EC5C88 #D0EC5C #5CECC0 #785CEC
split-complementary
#EC5C88 #5CEC78 #5CD0EC
monochromatic
#B81547 #E62560 #EC5C88 #F293B0 #F9CAD8

Accessibility & contrast

On white

3.25
#EC5C88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#EC5C88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C88
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C88#FFFFFF#000000##000000
##EC5C881.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#797D89
Deuteranopia (green-blind)
#9E9985
Tritanopia (blue-blind)
#FF4B6D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c88;
/* rgb */ color: rgb(236, 92, 136);
/* oklch */ color: oklch(67.2% 0.181 4.4);
Tailwind
colors: {
  custom: {
    50: '#f791aa',
    500: '#ec5c88',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c88;
$custom-light: #f791aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c88",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 136
  },
  "hsl": {
    "h": 341.667,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67184,
    "c": 0.18108,
    "h": 4.4
  },
  "luminance": 0.27265
}

Semantic roles & 50–950 ramp

primary
#EC5C88
secondary
#B9EBDC
accent
#DB9B0A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5C88

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

Preview Lab → · Contrast checker → · Palette generator →

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