#EC5F97#EC5F97

#EC5F97 is a light, vivid pink. Relative luminance 0.283; OKLCH L 68.0% C 0.182 H 358.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#EC5F97
RGBrgb(236, 95, 151)
HSLhsl(336, 79%, 65%)
HSVhsv(336, 60%, 93%)
CMYKcmyk(0%, 59.7%, 36%, 7.5%)
CIE-LABlab(60.12, 59.48, -2.28)
CIE-LCHlch(60.12, 59.53, 357.81°)
OKLaboklab(67.99% 0.1815 -0.0052)
OKLCHoklch(67.99% 0.182 358.4)
XYZxyz(44.2727, 28.2564, 32.3947)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F97 #5FECB4
analogous
#EC5FDE #EC5F97 #EC6D5F
triadic
#EC5F97 #97EC5F #5F97EC
tetradic
#EC5F97 #DEEC5F #5FECB4 #6D5FEC
square
#EC5F97 #DEEC5F #5FECB4 #6D5FEC
split-complementary
#EC5F97 #5FEC6D #5FDEEC
monochromatic
#BA1657 #E62873 #EC5F97 #F296BB #F9CCDE

Accessibility & contrast

On white

3.16
#EC5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#EC5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F97
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F97#FFFFFF#000000##000000
##EC5F971.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778099
Deuteranopia (green-blind)
#9D9B94
Tritanopia (blue-blind)
#FE5375
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5f97;
/* rgb */ color: rgb(236, 95, 151);
/* oklch */ color: oklch(68.0% 0.182 358.4);
Tailwind
colors: {
  custom: {
    50: '#f693b5',
    500: '#ec5f97',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f97;
$custom-light: #f693b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f97",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 336.17,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67988,
    "c": 0.1816,
    "h": 358.4
  },
  "luminance": 0.28252
}

Semantic roles & 50–950 ramp

primary
#EC5F97
secondary
#BBEBD8
accent
#DB880A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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