#EC5D97#EC5D97

#EC5D97 is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.8% C 0.184 H 358.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#EC5D97
RGBrgb(236, 93, 151)
HSLhsl(336, 79%, 65%)
HSVhsv(336, 61%, 93%)
CMYKcmyk(0%, 60.6%, 36%, 7.5%)
CIE-LABlab(59.80, 60.35, -2.75)
CIE-LCHlch(59.80, 60.41, 357.39°)
OKLaboklab(67.75% 0.1842 -0.0064)
OKLCHoklch(67.75% 0.184 358)
XYZxyz(44.0949, 27.9008, 32.3354)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5D97 #5DECB2
analogous
#EC5DDF #EC5D97 #EC6A5D
triadic
#EC5D97 #97EC5D #5D97EC
tetradic
#EC5D97 #DFEC5D #5DECB2 #6A5DEC
square
#EC5D97 #DFEC5D #5DECB2 #6A5DEC
split-complementary
#EC5D97 #5DEC6A #5DDFEC
monochromatic
#B91658 #E62674 #EC5D97 #F294BA #F9CBDD

Accessibility & contrast

On white

3.19
#EC5D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#EC5D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5D97
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5D97#FFFFFF#000000##000000
##EC5D971.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#767F99
Deuteranopia (green-blind)
#9C9A94
Tritanopia (blue-blind)
#FE5174
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5d97;
/* rgb */ color: rgb(236, 93, 151);
/* oklch */ color: oklch(67.8% 0.184 358.0);
Tailwind
colors: {
  custom: {
    50: '#f692b5',
    500: '#ec5d97',
    950: '#000000',
  },
}
SCSS
$custom: #ec5d97;
$custom-light: #f692b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5d97",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 335.664,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6775,
    "c": 0.18434,
    "h": 358
  },
  "luminance": 0.27896
}

Semantic roles & 50–950 ramp

primary
#EC5D97
secondary
#BAEBD7
accent
#DB860A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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