#EC5DDD#EC5DDD

#EC5DDD is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.5% C 0.226 H 332.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#EC5DDD
RGBrgb(236, 93, 221)
HSLhsl(306, 79%, 65%)
HSVhsv(306, 61%, 93%)
CMYKcmyk(0%, 60.6%, 6.4%, 7.5%)
CIE-LABlab(62.41, 69.80, -38.76)
CIE-LCHlch(62.41, 79.84, 330.96°)
OKLaboklab(70.53% 0.1998 -0.1061)
OKLCHoklch(70.53% 0.226 332)
XYZxyz(51.5575, 30.8858, 71.6386)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DDD #5DEC6C
analogous
#B45DEC #EC5DDD #EC5D95
triadic
#EC5DDD #DDEC5D #5DDDEC
tetradic
#EC5DDD #ECB45D #5DEC6C #5D95EC
square
#EC5DDD #ECB45D #5DEC6C #5D95EC
split-complementary
#EC5DDD #95EC5D #5DECB4
monochromatic
#B916A8 #E626D2 #EC5DDD #F294E8 #F9CBF4

Accessibility & contrast

On white

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

On black

7.18
#EC5DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5DDD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DDD#FFFFFF#000000##000000
##EC5DDD1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#F56A95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec5ddd;
/* rgb */ color: rgb(236, 93, 221);
/* oklch */ color: oklch(70.5% 0.226 332.0);
Tailwind
colors: {
  custom: {
    50: '#f593e8',
    500: '#ec5ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ddd;
$custom-light: #f593e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ddd",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 306.294,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70529,
    "c": 0.22619,
    "h": 332
  },
  "luminance": 0.30882
}

Semantic roles & 50–950 ramp

primary
#EC5DDD
secondary
#BAEBBF
accent
#DB200A
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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