#EC5F9F#EC5F9F

#EC5F9F is a light, vivid pink. Relative luminance 0.285; OKLCH L 68.2% C 0.185 H 354.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#EC5F9F
RGBrgb(236, 95, 159)
HSLhsl(333, 79%, 65%)
HSVhsv(333, 60%, 93%)
CMYKcmyk(0%, 59.7%, 32.6%, 7.5%)
CIE-LABlab(60.36, 60.40, -6.55)
CIE-LCHlch(60.36, 60.75, 353.81°)
OKLaboklab(68.25% 0.184 -0.0165)
OKLCHoklch(68.25% 0.185 354.9)
XYZxyz(44.9446, 28.5252, 35.9331)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F9F #5FECAC
analogous
#EC5FE5 #EC5F9F #EC665F
triadic
#EC5F9F #9FEC5F #5F9FEC
tetradic
#EC5F9F #E5EC5F #5FECAC #665FEC
square
#EC5F9F #E5EC5F #5FECAC #665FEC
split-complementary
#EC5F9F #5FEC66 #5FE5EC
monochromatic
#BA1661 #E6287E #EC5F9F #F296C0 #F9CCE1

Accessibility & contrast

On white

3.13
#EC5F9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#EC5F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F9F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F9F#FFFFFF#000000##000000
##EC5F9F1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7581A1
Deuteranopia (green-blind)
#9B9B9C
Tritanopia (blue-blind)
#FD5578
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5f9f;
/* rgb */ color: rgb(236, 95, 159);
/* oklch */ color: oklch(68.2% 0.185 354.9);
Tailwind
colors: {
  custom: {
    50: '#f693bb',
    500: '#ec5f9f',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f9f;
$custom-light: #f693bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f9f",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 159
  },
  "hsl": {
    "h": 332.766,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68246,
    "c": 0.18478,
    "h": 354.9
  },
  "luminance": 0.2852
}

Semantic roles & 50–950 ramp

primary
#EC5F9F
secondary
#BBEBD6
accent
#DB7C0A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80

Preview Lab

Preview with #EC5F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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