#EC5995#EC5995

#EC5995 is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.2% C 0.189 H 358.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#EC5995
RGBrgb(236, 89, 149)
HSLhsl(336, 79%, 64%)
HSVhsv(336, 62%, 93%)
CMYKcmyk(0%, 62.3%, 36.9%, 7.5%)
CIE-LABlab(59.12, 61.82, -2.59)
CIE-LCHlch(59.12, 61.87, 357.60°)
OKLaboklab(67.22% 0.1889 -0.006)
OKLCHoklch(67.22% 0.189 358.2)
XYZxyz(43.5919, 27.1524, 31.3732)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5995 #59ECB0
analogous
#EC59DE #EC5995 #EC6659
triadic
#EC5995 #95EC59 #5995EC
tetradic
#EC5995 #DEEC59 #59ECB0 #6659EC
square
#EC5995 #DEEC59 #59ECB0 #6659EC
split-complementary
#EC5995 #59EC66 #59DEEC
monochromatic
#B61557 #E62272 #EC5995 #F290B8 #F9C7DB

Accessibility & contrast

On white

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

On black

6.43
#EC5995 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5995
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5995#FFFFFF#000000##000000
##EC59951.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D97
Deuteranopia (green-blind)
#9B9992
Tritanopia (blue-blind)
#FE4C71
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5995;
/* rgb */ color: rgb(236, 89, 149);
/* oklch */ color: oklch(67.2% 0.189 358.2);
Tailwind
colors: {
  custom: {
    50: '#f78fb4',
    500: '#ec5995',
    950: '#000000',
  },
}
SCSS
$custom: #ec5995;
$custom-light: #f78fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5995",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 335.51,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67223,
    "c": 0.18899,
    "h": 358.2
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#EC5995
secondary
#B6EAD5
accent
#DC860A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5995

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

Preview Lab → · Contrast checker → · Palette generator →

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