#EC5FB4#EC5FB4

#EC5FB4 is a light, vivid pink. Relative luminance 0.293; OKLCH L 69.0% C 0.195 H 346.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#EC5FB4
RGBrgb(236, 95, 180)
HSLhsl(324, 79%, 65%)
HSVhsv(324, 60%, 93%)
CMYKcmyk(0%, 59.7%, 23.7%, 7.5%)
CIE-LABlab(61.06, 63.02, -17.60)
CIE-LCHlch(61.06, 65.43, 344.40°)
OKLaboklab(68.99% 0.1898 -0.0465)
OKLCHoklch(68.99% 0.195 346.2)
XYZxyz(46.9241, 29.3170, 46.3586)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FB4 #5FEC97
analogous
#DE5FEC #EC5FB4 #EC5F6D
triadic
#EC5FB4 #B4EC5F #5FB4EC
tetradic
#EC5FB4 #ECDE5F #5FEC97 #5F6DEC
square
#EC5FB4 #ECDE5F #5FEC97 #5F6DEC
split-complementary
#EC5FB4 #6DEC5F #5FECDE
monochromatic
#BA1679 #E6289A #EC5FB4 #F296CE #F9CCE7

Accessibility & contrast

On white

3.06
#EC5FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#EC5FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5FB4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FB4#FFFFFF#000000##000000
##EC5FB41.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B7
Deuteranopia (green-blind)
#959CB1
Tritanopia (blue-blind)
#FB5C82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5fb4;
/* rgb */ color: rgb(236, 95, 180);
/* oklch */ color: oklch(69.0% 0.195 346.2);
Tailwind
colors: {
  custom: {
    50: '#f693ca',
    500: '#ec5fb4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fb4;
$custom-light: #f693ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fb4",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 323.83,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68995,
    "c": 0.19543,
    "h": 346.2
  },
  "luminance": 0.29313
}

Semantic roles & 50–950 ramp

primary
#EC5FB4
secondary
#BBEBCE
accent
#DB5D0A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #EC5FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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