#EC5896#EC5896

#EC5896 is a light, vivid pink. Relative luminance 0.270; OKLCH L 67.1% C 0.191 H 357.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#EC5896
RGBrgb(236, 88, 150)
HSLhsl(335, 80%, 64%)
HSVhsv(335, 63%, 93%)
CMYKcmyk(0%, 62.7%, 36.4%, 7.5%)
CIE-LABlab(58.99, 62.34, -3.35)
CIE-LCHlch(58.99, 62.43, 356.92°)
OKLaboklab(67.14% 0.1905 -0.008)
OKLCHoklch(67.14% 0.191 357.6)
XYZxyz(43.5894, 27.0192, 31.7680)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5896 #58ECAE
analogous
#EC58E0 #EC5896 #EC6458
triadic
#EC5896 #96EC58 #5896EC
tetradic
#EC5896 #E0EC58 #58ECAE #6458EC
square
#EC5896 #E0EC58 #58ECAE #6458EC
split-complementary
#EC5896 #58EC64 #58E0EC
monochromatic
#B51558 #E62173 #EC5896 #F28FB9 #F9C6DB

Accessibility & contrast

On white

3.28
#EC5896 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#EC5896 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5896
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5896#FFFFFF#000000##000000
##EC58961.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#727C98
Deuteranopia (green-blind)
#9A9893
Tritanopia (blue-blind)
#FE4B71
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5896;
/* rgb */ color: rgb(236, 88, 150);
/* oklch */ color: oklch(67.1% 0.191 357.6);
Tailwind
colors: {
  custom: {
    50: '#f78fb4',
    500: '#ec5896',
    950: '#000000',
  },
}
SCSS
$custom: #ec5896;
$custom-light: #f78fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5896",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 150
  },
  "hsl": {
    "h": 334.865,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.19067,
    "h": 357.6
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5896

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

Preview Lab → · Contrast checker → · Palette generator →

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