#EC5796#EC5796

#EC5796 is a light, vivid pink. Relative luminance 0.269; OKLCH L 67.0% C 0.192 H 357.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#EC5796
RGBrgb(236, 87, 150)
HSLhsl(335, 80%, 63%)
HSVhsv(335, 63%, 93%)
CMYKcmyk(0%, 63.1%, 36.4%, 7.5%)
CIE-LABlab(58.84, 62.75, -3.58)
CIE-LCHlch(58.84, 62.85, 356.74°)
OKLaboklab(67.03% 0.1918 -0.0086)
OKLCHoklch(67.03% 0.192 357.4)
XYZxyz(43.5079, 26.8562, 31.7408)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5796 #57ECAD
analogous
#EC57E0 #EC5796 #EC6257
triadic
#EC5796 #96EC57 #5796EC
tetradic
#EC5796 #E0EC57 #57ECAD #6257EC
square
#EC5796 #E0EC57 #57ECAD #6257EC
split-complementary
#EC5796 #57EC62 #57E0EC
monochromatic
#B41458 #E62074 #EC5796 #F28EB8 #F8C5DB

Accessibility & contrast

On white

3.30
#EC5796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#EC5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5796
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5796#FFFFFF#000000##000000
##EC57961.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C98
Deuteranopia (green-blind)
#999893
Tritanopia (blue-blind)
#FE4A70
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5796;
/* rgb */ color: rgb(236, 87, 150);
/* oklch */ color: oklch(67.0% 0.192 357.4);
Tailwind
colors: {
  custom: {
    50: '#f78eb4',
    500: '#ec5796',
    950: '#000000',
  },
}
SCSS
$custom: #ec5796;
$custom-light: #f78eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5796",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 334.631,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67029,
    "c": 0.19199,
    "h": 357.4
  },
  "luminance": 0.26851
}

Semantic roles & 50–950 ramp

primary
#EC5796
secondary
#B5EAD3
accent
#DC830A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5796

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

Preview Lab → · Contrast checker → · Palette generator →

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