#EC5394#EC5394

#EC5394 is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.5% C 0.196 H 357.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#EC5394
RGBrgb(236, 83, 148)
HSLhsl(335, 80%, 63%)
HSVhsv(335, 65%, 93%)
CMYKcmyk(0%, 64.8%, 37.3%, 7.5%)
CIE-LABlab(58.19, 64.15, -3.37)
CIE-LCHlch(58.19, 64.24, 357.00°)
OKLaboklab(66.53% 0.1962 -0.008)
OKLCHoklch(66.53% 0.196 357.7)
XYZxyz(43.0333, 26.1625, 30.7949)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5394 #53ECAB
analogous
#EC53E0 #EC5394 #EC5F53
triadic
#EC5394 #94EC53 #5394EC
tetradic
#EC5394 #E0EC53 #53ECAB #5F53EC
square
#EC5394 #E0EC53 #53ECAB #5F53EC
split-complementary
#EC5394 #53EC5F #53E0EC
monochromatic
#B11456 #E61C72 #EC5394 #F28AB6 #F8C1D9

Accessibility & contrast

On white

3.37
#EC5394 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#EC5394 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5394
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5394#FFFFFF#000000##000000
##EC53941.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7A96
Deuteranopia (green-blind)
#989690
Tritanopia (blue-blind)
#FE446D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5394;
/* rgb */ color: rgb(236, 83, 148);
/* oklch */ color: oklch(66.5% 0.196 357.7);
Tailwind
colors: {
  custom: {
    50: '#f78cb3',
    500: '#ec5394',
    950: '#000000',
  },
}
SCSS
$custom: #ec5394;
$custom-light: #f78cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5394",
  "rgb": {
    "r": 236,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 334.51,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.1964,
    "h": 357.7
  },
  "luminance": 0.26157
}

Semantic roles & 50–950 ramp

primary
#EC5394
secondary
#B2E9D2
accent
#DC8309
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5394

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

Preview Lab → · Contrast checker → · Palette generator →

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