#EC5F99#EC5F99

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

Color values

HEX#EC5F99
RGBrgb(236, 95, 153)
HSLhsl(335, 79%, 65%)
HSVhsv(335, 60%, 93%)
CMYKcmyk(0%, 59.7%, 35.2%, 7.5%)
CIE-LABlab(60.18, 59.71, -3.35)
CIE-LCHlch(60.18, 59.80, 356.79°)
OKLaboklab(68.05% 0.1822 -0.008)
OKLCHoklch(68.05% 0.182 357.5)
XYZxyz(44.4365, 28.3220, 33.2573)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F99 #5FECB2
analogous
#EC5FE0 #EC5F99 #EC6B5F
triadic
#EC5F99 #99EC5F #5F99EC
tetradic
#EC5F99 #E0EC5F #5FECB2 #6B5FEC
square
#EC5F99 #E0EC5F #5FECB2 #6B5FEC
split-complementary
#EC5F99 #5FEC6B #5FE0EC
monochromatic
#BA165A #E62876 #EC5F99 #F296BC #F9CCDF

Accessibility & contrast

On white

3.15
#EC5F99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#EC5F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F99
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F99#FFFFFF#000000##000000
##EC5F991.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77809B
Deuteranopia (green-blind)
#9C9B96
Tritanopia (blue-blind)
#FE5476
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5f99;
/* rgb */ color: rgb(236, 95, 153);
/* oklch */ color: oklch(68.1% 0.182 357.5);
Tailwind
colors: {
  custom: {
    50: '#f693b7',
    500: '#ec5f99',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f99;
$custom-light: #f693b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f99",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 335.319,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68051,
    "c": 0.18235,
    "h": 357.5
  },
  "luminance": 0.28317
}

Semantic roles & 50–950 ramp

primary
#EC5F99
secondary
#BBEBD8
accent
#DB850A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80

Preview Lab

Preview with #EC5F99

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

Preview Lab → · Contrast checker → · Palette generator →

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