#EC5794#EC5794

#EC5794 is a light, vivid pink. Relative luminance 0.268; OKLCH L 67.0% C 0.191 H 358.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#EC5794
RGBrgb(236, 87, 148)
HSLhsl(335, 80%, 63%)
HSVhsv(335, 63%, 93%)
CMYKcmyk(0%, 63.1%, 37.3%, 7.5%)
CIE-LABlab(58.78, 62.54, -2.50)
CIE-LCHlch(58.78, 62.59, 357.71°)
OKLaboklab(66.97% 0.1912 -0.0058)
OKLCHoklch(66.97% 0.191 358.3)
XYZxyz(43.3482, 26.7923, 30.8999)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5794 #57ECAF
analogous
#EC57DF #EC5794 #EC6457
triadic
#EC5794 #94EC57 #5794EC
tetradic
#EC5794 #DFEC57 #57ECAF #6457EC
square
#EC5794 #DFEC57 #57ECAF #6457EC
split-complementary
#EC5794 #57EC64 #57DFEC
monochromatic
#B41456 #E62071 #EC5794 #F28EB7 #F8C5DA

Accessibility & contrast

On white

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

On black

6.36
#EC5794 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5794
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5794#FFFFFF#000000##000000
##EC57941.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#727C96
Deuteranopia (green-blind)
#9A9891
Tritanopia (blue-blind)
#FE496F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5794;
/* rgb */ color: rgb(236, 87, 148);
/* oklch */ color: oklch(67.0% 0.191 358.3);
Tailwind
colors: {
  custom: {
    50: '#f78eb3',
    500: '#ec5794',
    950: '#000000',
  },
}
SCSS
$custom: #ec5794;
$custom-light: #f78eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5794",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 335.436,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66965,
    "c": 0.19125,
    "h": 358.3
  },
  "luminance": 0.26787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5794

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

Preview Lab → · Contrast checker → · Palette generator →

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