#EC5CDC#EC5CDC

#EC5CDC is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.4% C 0.227 H 332.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#EC5CDC
RGBrgb(236, 92, 220)
HSLhsl(307, 79%, 64%)
HSVhsv(307, 61%, 93%)
CMYKcmyk(0%, 61%, 6.8%, 7.5%)
CIE-LABlab(62.22, 70.05, -38.50)
CIE-LCHlch(62.22, 79.93, 331.21°)
OKLaboklab(70.37% 0.2008 -0.1054)
OKLCHoklch(70.37% 0.227 332.3)
XYZxyz(51.3375, 30.6583, 70.9100)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CDC #5CEC6C
analogous
#B45CEC #EC5CDC #EC5C94
triadic
#EC5CDC #DCEC5C #5CDCEC
tetradic
#EC5CDC #ECB45C #5CEC6C #5C94EC
square
#EC5CDC #ECB45C #5CEC6C #5C94EC
split-complementary
#EC5CDC #94EC5C #5CECB4
monochromatic
#B815A6 #E625D0 #EC5CDC #F293E8 #F9CAF4

Accessibility & contrast

On white

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

On black

7.13
#EC5CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CDC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CDC#FFFFFF#000000##000000
##EC5CDC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#F56894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5cdc;
/* rgb */ color: rgb(236, 92, 220);
/* oklch */ color: oklch(70.4% 0.227 332.3);
Tailwind
colors: {
  custom: {
    50: '#f593e7',
    500: '#ec5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cdc;
$custom-light: #f593e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cdc",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 306.667,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70373,
    "c": 0.22677,
    "h": 332.3
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#EC5CDC
secondary
#B9EBBE
accent
#DB210A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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