#EC9DDD#EC9DDD

#EC9DDD is a light, vivid pink. Relative luminance 0.472; OKLCH L 79.4% C 0.124 H 333.7°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#EC9DDD
RGBrgb(236, 157, 221)
HSLhsl(311, 68%, 77%)
HSVhsv(311, 33%, 93%)
CMYKcmyk(0%, 33.5%, 6.4%, 7.5%)
CIE-LABlab(74.30, 38.98, -20.43)
CIE-LCHlch(74.30, 44.01, 332.34°)
OKLaboklab(79.39% 0.1112 -0.0549)
OKLCHoklch(79.39% 0.124 333.7)
XYZxyz(59.6996, 47.1700, 74.3527)
Luminance0.4717 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9DDD #9DECAC
analogous
#D39DEC #EC9DDD #EC9DB6
triadic
#EC9DDD #DDEC9D #9DDDEC
tetradic
#EC9DDD #ECD39D #9DECAC #9DB6EC
square
#EC9DDD #ECD39D #9DECAC #9DB6EC
split-complementary
#EC9DDD #B6EC9D #9DECD3
monochromatic
#D836B9 #E26ACB #EC9DDD #F6D0EF #FAE5F6

Accessibility & contrast

On white

2.01
#EC9DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#EC9DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9DDD
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9DDD#FFFFFF#000000##000000
##EC9DDD1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB0DF
Deuteranopia (green-blind)
#B0BBDB
Tritanopia (blue-blind)
#F3A1B4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ec9ddd;
/* rgb */ color: rgb(236, 157, 221);
/* oklch */ color: oklch(79.4% 0.124 333.7);
Tailwind
colors: {
  custom: {
    50: '#f3bbe7',
    500: '#ec9ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ec9ddd;
$custom-light: #f3bbe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9ddd",
  "rgb": {
    "r": 236,
    "g": 157,
    "b": 221
  },
  "hsl": {
    "h": 311.392,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79387,
    "c": 0.12404,
    "h": 333.7
  },
  "luminance": 0.47167
}

Semantic roles & 50–950 ramp

primary
#EC9DDD
secondary
#D9F2DE
accent
#CF3916
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171216
muted
#858184

Preview Lab

Preview with #EC9DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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