#EC5F93#EC5F93

#EC5F93 is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.9% C 0.180 H 0.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#EC5F93
RGBrgb(236, 95, 147)
HSLhsl(338, 79%, 65%)
HSVhsv(338, 60%, 93%)
CMYKcmyk(0%, 59.7%, 37.7%, 7.5%)
CIE-LABlab(60.00, 59.05, -0.12)
CIE-LCHlch(60.00, 59.05, 359.88°)
OKLaboklab(67.86% 0.1802 0.0004)
OKLCHoklch(67.86% 0.18 0.1)
XYZxyz(43.9534, 28.1287, 30.7128)
Luminance0.2812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F93 #5FECB8
analogous
#EC5FDA #EC5F93 #EC715F
triadic
#EC5F93 #93EC5F #5F93EC
tetradic
#EC5F93 #DAEC5F #5FECB8 #715FEC
square
#EC5F93 #DAEC5F #5FECB8 #715FEC
split-complementary
#EC5F93 #5FEC71 #5FDAEC
monochromatic
#BA1653 #E6286E #EC5F93 #F296B8 #F9CCDD

Accessibility & contrast

On white

3.17
#EC5F93 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#EC5F93 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F93
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F93#FFFFFF#000000##000000
##EC5F931.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788094
Deuteranopia (green-blind)
#9E9B90
Tritanopia (blue-blind)
#FE5273
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5f93;
/* rgb */ color: rgb(236, 95, 147);
/* oklch */ color: oklch(67.9% 0.180 0.1);
Tailwind
colors: {
  custom: {
    50: '#f693b2',
    500: '#ec5f93',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f93;
$custom-light: #f693b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f93",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 147
  },
  "hsl": {
    "h": 337.872,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67865,
    "c": 0.18022,
    "h": 0.1
  },
  "luminance": 0.28124
}

Semantic roles & 50–950 ramp

primary
#EC5F93
secondary
#BBEBDA
accent
#DB8E0A
background
#FFF9FA
surface
#FFF2F5
border
#D7CCCF
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5F93

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

Preview Lab → · Contrast checker → · Palette generator →

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