#EC5795#EC5795

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

Color values

HEX#EC5795
RGBrgb(236, 87, 149)
HSLhsl(335, 80%, 63%)
HSVhsv(335, 63%, 93%)
CMYKcmyk(0%, 63.1%, 36.9%, 7.5%)
CIE-LABlab(58.81, 62.64, -3.04)
CIE-LCHlch(58.81, 62.72, 357.23°)
OKLaboklab(67% 0.1915 -0.0072)
OKLCHoklch(67% 0.192 357.9)
XYZxyz(43.4277, 26.8241, 31.3185)
Luminance0.2682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5795 #57ECAE
analogous
#EC57DF #EC5795 #EC6357
triadic
#EC5795 #95EC57 #5795EC
tetradic
#EC5795 #DFEC57 #57ECAE #6357EC
square
#EC5795 #DFEC57 #57ECAE #6357EC
split-complementary
#EC5795 #57EC63 #57DFEC
monochromatic
#B41457 #E62072 #EC5795 #F28EB8 #F8C5DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5795#FFFFFF#000000##000000
##EC57951.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)
#717C97
Deuteranopia (green-blind)
#9A9892
Tritanopia (blue-blind)
#FE4970
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5795;
/* rgb */ color: rgb(236, 87, 149);
/* oklch */ color: oklch(67.0% 0.192 357.9);
Tailwind
colors: {
  custom: {
    50: '#f78eb4',
    500: '#ec5795',
    950: '#000000',
  },
}
SCSS
$custom: #ec5795;
$custom-light: #f78eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5795",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 335.034,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66997,
    "c": 0.19161,
    "h": 357.9
  },
  "luminance": 0.26819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5795

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

Preview Lab → · Contrast checker → · Palette generator →

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