#EC5CDF#EC5CDF

#EC5CDF is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.5% C 0.229 H 331.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#EC5CDF
RGBrgb(236, 92, 223)
HSLhsl(305, 79%, 64%)
HSVhsv(305, 61%, 93%)
CMYKcmyk(0%, 61%, 5.5%, 7.5%)
CIE-LABlab(62.35, 70.52, -39.97)
CIE-LCHlch(62.35, 81.06, 330.46°)
OKLaboklab(70.52% 0.2011 -0.1096)
OKLCHoklch(70.52% 0.229 331.4)
XYZxyz(51.7384, 30.8186, 73.0213)
Luminance0.3081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CDF #5CEC69
analogous
#B15CEC #EC5CDF #EC5C97
triadic
#EC5CDF #DFEC5C #5CDFEC
tetradic
#EC5CDF #ECB15C #5CEC69 #5C97EC
square
#EC5CDF #ECB15C #5CEC69 #5C97EC
split-complementary
#EC5CDF #97EC5C #5CECB1
monochromatic
#B815A9 #E625D4 #EC5CDF #F293EA #F9CAF5

Accessibility & contrast

On white

2.93
#EC5CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#EC5CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CDF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CDF#FFFFFF#000000##000000
##EC5CDF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#849EDB
Tritanopia (blue-blind)
#F56A95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5cdf;
/* rgb */ color: rgb(236, 92, 223);
/* oklch */ color: oklch(70.5% 0.229 331.4);
Tailwind
colors: {
  custom: {
    50: '#f593e9',
    500: '#ec5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cdf;
$custom-light: #f593e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cdf",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 305.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70517,
    "c": 0.22905,
    "h": 331.4
  },
  "luminance": 0.30815
}

Semantic roles & 50–950 ramp

primary
#EC5CDF
secondary
#B9EBBD
accent
#DB1D0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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