#EC5F96#EC5F96

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

Color values

HEX#EC5F96
RGBrgb(236, 95, 150)
HSLhsl(337, 79%, 65%)
HSVhsv(337, 60%, 93%)
CMYKcmyk(0%, 59.7%, 36.4%, 7.5%)
CIE-LABlab(60.09, 59.37, -1.74)
CIE-LCHlch(60.09, 59.40, 358.32°)
OKLaboklab(67.96% 0.1812 -0.0038)
OKLCHoklch(67.96% 0.181 358.8)
XYZxyz(44.1919, 28.2241, 31.9688)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F96 #5FECB5
analogous
#EC5FDC #EC5F96 #EC6F5F
triadic
#EC5F96 #96EC5F #5F96EC
tetradic
#EC5F96 #DCEC5F #5FECB5 #6F5FEC
square
#EC5F96 #DCEC5F #5FECB5 #6F5FEC
split-complementary
#EC5F96 #5FEC6F #5FDCEC
monochromatic
#BA1656 #E62872 #EC5F96 #F296BA #F9CCDE

Accessibility & contrast

On white

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

On black

6.64
#EC5F96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F96
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F96#FFFFFF#000000##000000
##EC5F961.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#778098
Deuteranopia (green-blind)
#9D9B93
Tritanopia (blue-blind)
#FE5374
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5f96;
/* rgb */ color: rgb(236, 95, 150);
/* oklch */ color: oklch(68.0% 0.181 358.8);
Tailwind
colors: {
  custom: {
    50: '#f693b4',
    500: '#ec5f96',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f96;
$custom-light: #f693b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f96",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 150
  },
  "hsl": {
    "h": 336.596,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67957,
    "c": 0.18124,
    "h": 358.8
  },
  "luminance": 0.28219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5F96

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

Preview Lab → · Contrast checker → · Palette generator →

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