#EC5FA4#EC5FA4

#EC5FA4 is a light, vivid pink. Relative luminance 0.287; OKLCH L 68.4% C 0.187 H 352.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#EC5FA4
RGBrgb(236, 95, 164)
HSLhsl(331, 79%, 65%)
HSVhsv(331, 60%, 93%)
CMYKcmyk(0%, 59.7%, 30.5%, 7.5%)
CIE-LABlab(60.52, 60.99, -9.21)
CIE-LCHlch(60.52, 61.69, 351.41°)
OKLaboklab(68.42% 0.1855 -0.0236)
OKLCHoklch(68.42% 0.187 352.7)
XYZxyz(45.3873, 28.7023, 38.2646)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FA4 #5FECA7
analogous
#EC5FEB #EC5FA4 #EC605F
triadic
#EC5FA4 #A4EC5F #5FA4EC
tetradic
#EC5FA4 #EBEC5F #5FECA7 #605FEC
square
#EC5FA4 #EBEC5F #5FECA7 #605FEC
split-complementary
#EC5FA4 #5FEC60 #5FEBEC
monochromatic
#BA1667 #E62885 #EC5FA4 #F296C3 #F9CCE2

Accessibility & contrast

On white

3.12
#EC5FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#EC5FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5FA4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FA4#FFFFFF#000000##000000
##EC5FA41.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7382A6
Deuteranopia (green-blind)
#9A9BA1
Tritanopia (blue-blind)
#FD577A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec5fa4;
/* rgb */ color: rgb(236, 95, 164);
/* oklch */ color: oklch(68.4% 0.187 352.7);
Tailwind
colors: {
  custom: {
    50: '#f693bf',
    500: '#ec5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fa4;
$custom-light: #f693bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fa4",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 330.638,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68415,
    "c": 0.18702,
    "h": 352.7
  },
  "luminance": 0.28698
}

Semantic roles & 50–950 ramp

primary
#EC5FA4
secondary
#BBEBD4
accent
#DB750A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #EC5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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