#EC5FD4#EC5FD4

#EC5FD4 is a light, highly saturated pink. Relative luminance 0.308; OKLCH L 70.3% C 0.217 H 334.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#EC5FD4
RGBrgb(236, 95, 212)
HSLhsl(310, 79%, 65%)
HSVhsv(310, 60%, 93%)
CMYKcmyk(0%, 59.7%, 10.2%, 7.5%)
CIE-LABlab(62.32, 67.58, -33.85)
CIE-LCHlch(62.32, 75.58, 333.39°)
OKLaboklab(70.33% 0.1962 -0.0921)
OKLCHoklch(70.33% 0.217 334.9)
XYZxyz(50.5683, 30.7747, 65.5513)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FD4 #5FEC77
analogous
#BE5FEC #EC5FD4 #EC5F8D
triadic
#EC5FD4 #D4EC5F #5FD4EC
tetradic
#EC5FD4 #ECBE5F #5FEC77 #5F8DEC
square
#EC5FD4 #ECBE5F #5FEC77 #5F8DEC
split-complementary
#EC5FD4 #8DEC5F #5FECBE
monochromatic
#BA169E #E628C5 #EC5FD4 #F296E3 #F9CCF1

Accessibility & contrast

On white

2.94
#EC5FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#EC5FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FD4
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FD4#FFFFFF#000000##000000
##EC5FD41.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F89D8
Deuteranopia (green-blind)
#8B9ED0
Tritanopia (blue-blind)
#F76891
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5fd4;
/* rgb */ color: rgb(236, 95, 212);
/* oklch */ color: oklch(70.3% 0.217 334.9);
Tailwind
colors: {
  custom: {
    50: '#f594e1',
    500: '#ec5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5fd4;
$custom-light: #f594e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5fd4",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 310.213,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70331,
    "c": 0.21669,
    "h": 334.9
  },
  "luminance": 0.30771
}

Semantic roles & 50–950 ramp

primary
#EC5FD4
secondary
#BBEBC4
accent
#DB2E0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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