#EC5DC2#EC5DC2

#EC5DC2 is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 69.3% C 0.207 H 340.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#EC5DC2
RGBrgb(236, 93, 194)
HSLhsl(318, 79%, 65%)
HSVhsv(318, 61%, 93%)
CMYKcmyk(0%, 60.6%, 17.8%, 7.5%)
CIE-LABlab(61.27, 65.77, -25.27)
CIE-LCHlch(61.27, 70.46, 338.98°)
OKLaboklab(69.32% 0.1955 -0.0678)
OKLCHoklch(69.32% 0.207 340.9)
XYZxyz(48.2451, 29.5609, 54.1934)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DC2 #5DEC87
analogous
#CE5DEC #EC5DC2 #EC5D7B
triadic
#EC5DC2 #C2EC5D #5DC2EC
tetradic
#EC5DC2 #ECCE5D #5DEC87 #5D7BEC
square
#EC5DC2 #ECCE5D #5DEC87 #5D7BEC
split-complementary
#EC5DC2 #7BEC5D #5DECCE
monochromatic
#B91689 #E626AD #EC5DC2 #F294D7 #F9CBEB

Accessibility & contrast

On white

3.04
#EC5DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#EC5DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5DC2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DC2#FFFFFF#000000##000000
##EC5DC21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6685C5
Deuteranopia (green-blind)
#909CBE
Tritanopia (blue-blind)
#F96087
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec5dc2;
/* rgb */ color: rgb(236, 93, 194);
/* oklch */ color: oklch(69.3% 0.207 340.9);
Tailwind
colors: {
  custom: {
    50: '#f693d4',
    500: '#ec5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5dc2;
$custom-light: #f693d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5dc2",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 317.622,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69324,
    "c": 0.20693,
    "h": 340.9
  },
  "luminance": 0.29557
}

Semantic roles & 50–950 ramp

primary
#EC5DC2
secondary
#BAEBC8
accent
#DB480A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #EC5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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