#EC5998#EC5998

#EC5998 is a light, vivid pink. Relative luminance 0.272; OKLCH L 67.3% C 0.190 H 356.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#EC5998
RGBrgb(236, 89, 152)
HSLhsl(334, 79%, 64%)
HSVhsv(334, 62%, 93%)
CMYKcmyk(0%, 62.3%, 35.6%, 7.5%)
CIE-LABlab(59.20, 62.15, -4.20)
CIE-LCHlch(59.20, 62.29, 356.13°)
OKLaboklab(67.32% 0.1898 -0.0103)
OKLCHoklch(67.32% 0.19 356.9)
XYZxyz(43.8345, 27.2495, 32.6509)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5998 #59ECAD
analogous
#EC59E1 #EC5998 #EC6359
triadic
#EC5998 #98EC59 #5998EC
tetradic
#EC5998 #E1EC59 #59ECAD #6359EC
square
#EC5998 #E1EC59 #59ECAD #6359EC
split-complementary
#EC5998 #59EC63 #59E1EC
monochromatic
#B6155A #E62276 #EC5998 #F290BA #F9C7DC

Accessibility & contrast

On white

3.26
#EC5998 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5998#FFFFFF#000000##000000
##EC59981.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D9A
Deuteranopia (green-blind)
#9A9995
Tritanopia (blue-blind)
#FE4D72
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5998;
/* rgb */ color: rgb(236, 89, 152);
/* oklch */ color: oklch(67.3% 0.190 356.9);
Tailwind
colors: {
  custom: {
    50: '#f78fb6',
    500: '#ec5998',
    950: '#000000',
  },
}
SCSS
$custom: #ec5998;
$custom-light: #f78fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5998",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 334.286,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.19011,
    "h": 356.9
  },
  "luminance": 0.27245
}

Semantic roles & 50–950 ramp

primary
#EC5998
secondary
#B6EAD4
accent
#DC820A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5998

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

Preview Lab → · Contrast checker → · Palette generator →

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