#EC5F88#EC5F88

#EC5F88 is a light, vivid pink. Relative luminance 0.278; OKLCH L 67.5% C 0.177 H 5.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#EC5F88
RGBrgb(236, 95, 136)
HSLhsl(343, 79%, 65%)
HSVhsv(343, 60%, 93%)
CMYKcmyk(0%, 59.7%, 42.4%, 7.5%)
CIE-LABlab(59.71, 57.90, 5.85)
CIE-LCHlch(59.71, 58.20, 5.76°)
OKLaboklab(67.55% 0.1764 0.0157)
OKLCHoklch(67.55% 0.177 5.1)
XYZxyz(43.1311, 27.7998, 26.3823)
Luminance0.2779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F88 #5FECC3
analogous
#EC5FCF #EC5F88 #EC7C5F
triadic
#EC5F88 #88EC5F #5F88EC
tetradic
#EC5F88 #CFEC5F #5FECC3 #7C5FEC
square
#EC5F88 #CFEC5F #5FECC3 #7C5FEC
split-complementary
#EC5F88 #5FEC7C #5FCFEC
monochromatic
#BA1646 #E6285F #EC5F88 #F296B1 #F9CCD9

Accessibility & contrast

On white

3.20
#EC5F88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#EC5F88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F88
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F88#FFFFFF#000000##000000
##EC5F881.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7F89
Deuteranopia (green-blind)
#A09A85
Tritanopia (blue-blind)
#FF4E6F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5f88;
/* rgb */ color: rgb(236, 95, 136);
/* oklch */ color: oklch(67.5% 0.177 5.1);
Tailwind
colors: {
  custom: {
    50: '#f792aa',
    500: '#ec5f88',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f88;
$custom-light: #f792aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f88",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 136
  },
  "hsl": {
    "h": 342.553,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67546,
    "c": 0.17714,
    "h": 5.1
  },
  "luminance": 0.27795
}

Semantic roles & 50–950 ramp

primary
#EC5F88
secondary
#BBEBDD
accent
#DB9E0A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5F88

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

Preview Lab → · Contrast checker → · Palette generator →

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