#EC5CD3#EC5CD3

#EC5CD3 is a light, highly saturated pink. Relative luminance 0.302; OKLCH L 70.0% C 0.220 H 335.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#EC5CD3
RGBrgb(236, 92, 211)
HSLhsl(310, 79%, 64%)
HSVhsv(310, 61%, 93%)
CMYKcmyk(0%, 61%, 10.6%, 7.5%)
CIE-LABlab(61.82, 68.67, -34.05)
CIE-LCHlch(61.82, 76.65, 333.62°)
OKLaboklab(69.95% 0.1997 -0.0927)
OKLCHoklch(69.95% 0.22 335.1)
XYZxyz(50.1775, 30.1943, 64.8007)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CD3 #5CEC75
analogous
#BD5CEC #EC5CD3 #EC5C8B
triadic
#EC5CD3 #D3EC5C #5CD3EC
tetradic
#EC5CD3 #ECBD5C #5CEC75 #5C8BEC
square
#EC5CD3 #ECBD5C #5CEC75 #5C8BEC
split-complementary
#EC5CD3 #8BEC5C #5CECBD
monochromatic
#B8159C #E625C4 #EC5CD3 #F293E2 #F9CAF1

Accessibility & contrast

On white

2.98
#EC5CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#EC5CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CD3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CD3#FFFFFF#000000##000000
##EC5CD31.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D7
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#F7658F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5cd3;
/* rgb */ color: rgb(236, 92, 211);
/* oklch */ color: oklch(70.0% 0.220 335.1);
Tailwind
colors: {
  custom: {
    50: '#f592e1',
    500: '#ec5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cd3;
$custom-light: #f592e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cd3",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 310.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69954,
    "c": 0.2201,
    "h": 335.1
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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