#EC5CDB#EC5CDB

#EC5CDB is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.3% C 0.226 H 332.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#EC5CDB
RGBrgb(236, 92, 219)
HSLhsl(307, 79%, 64%)
HSVhsv(307, 61%, 93%)
CMYKcmyk(0%, 61%, 7.2%, 7.5%)
CIE-LABlab(62.17, 69.89, -38.01)
CIE-LCHlch(62.17, 79.56, 331.46°)
OKLaboklab(70.33% 0.2007 -0.104)
OKLCHoklch(70.33% 0.226 332.6)
XYZxyz(51.2054, 30.6055, 70.2146)
Luminance0.3060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CDB #5CEC6D
analogous
#B55CEC #EC5CDB #EC5C93
triadic
#EC5CDB #DBEC5C #5CDBEC
tetradic
#EC5CDB #ECB55C #5CEC6D #5C93EC
square
#EC5CDB #ECB55C #5CEC6D #5C93EC
split-complementary
#EC5CDB #93EC5C #5CECB5
monochromatic
#B815A5 #E625CF #EC5CDB #F293E7 #F9CAF3

Accessibility & contrast

On white

2.95
#EC5CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#EC5CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CDB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CDB#FFFFFF#000000##000000
##EC5CDB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#F66893
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5cdb;
/* rgb */ color: rgb(236, 92, 219);
/* oklch */ color: oklch(70.3% 0.226 332.6);
Tailwind
colors: {
  custom: {
    50: '#f593e6',
    500: '#ec5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cdb;
$custom-light: #f593e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cdb",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 307.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70326,
    "c": 0.22603,
    "h": 332.6
  },
  "luminance": 0.30602
}

Semantic roles & 50–950 ramp

primary
#EC5CDB
secondary
#B9EBBF
accent
#DB230A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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