#EC5F94#EC5F94

#EC5F94 is a light, vivid pink. Relative luminance 0.282; OKLCH L 67.9% C 0.181 H 359.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#EC5F94
RGBrgb(236, 95, 148)
HSLhsl(337, 79%, 65%)
HSVhsv(337, 60%, 93%)
CMYKcmyk(0%, 59.7%, 37.3%, 7.5%)
CIE-LABlab(60.03, 59.15, -0.66)
CIE-LCHlch(60.03, 59.16, 359.36°)
OKLaboklab(67.9% 0.1805 -0.001)
OKLCHoklch(67.9% 0.181 359.7)
XYZxyz(44.0322, 28.1602, 31.1278)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F94 #5FECB7
analogous
#EC5FDA #EC5F94 #EC715F
triadic
#EC5F94 #94EC5F #5F94EC
tetradic
#EC5F94 #DAEC5F #5FECB7 #715FEC
square
#EC5F94 #DAEC5F #5FECB7 #715FEC
split-complementary
#EC5F94 #5FEC71 #5FDAEC
monochromatic
#BA1654 #E6286F #EC5F94 #F296B9 #F9CCDD

Accessibility & contrast

On white

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

On black

6.63
#EC5F94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F94
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F94#FFFFFF#000000##000000
##EC5F941.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788096
Deuteranopia (green-blind)
#9D9B91
Tritanopia (blue-blind)
#FE5274
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5f94;
/* rgb */ color: rgb(236, 95, 148);
/* oklch */ color: oklch(67.9% 0.181 359.7);
Tailwind
colors: {
  custom: {
    50: '#f693b3',
    500: '#ec5f94',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f94;
$custom-light: #f693b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f94",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 337.447,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67896,
    "c": 0.18055,
    "h": 359.7
  },
  "luminance": 0.28155
}

Semantic roles & 50–950 ramp

primary
#EC5F94
secondary
#BBEBD9
accent
#DB8D0A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5F94

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

Preview Lab → · Contrast checker → · Palette generator →

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