#EC9DDC#EC9DDC

#EC9DDC is a light, vivid pink. Relative luminance 0.471; OKLCH L 79.3% C 0.123 H 334.3°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#EC9DDC
RGBrgb(236, 157, 220)
HSLhsl(312, 68%, 77%)
HSVhsv(312, 33%, 93%)
CMYKcmyk(0%, 33.5%, 6.8%, 7.5%)
CIE-LABlab(74.26, 38.81, -19.94)
CIE-LCHlch(74.26, 43.63, 332.81°)
OKLaboklab(79.35% 0.111 -0.0535)
OKLCHoklch(79.35% 0.123 334.3)
XYZxyz(59.5668, 47.1168, 73.6531)
Luminance0.4711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9DDC #9DECAD
analogous
#D59DEC #EC9DDC #EC9DB5
triadic
#EC9DDC #DCEC9D #9DDCEC
tetradic
#EC9DDC #ECD59D #9DECAD #9DB5EC
square
#EC9DDC #ECD59D #9DECAD #9DB5EC
split-complementary
#EC9DDC #B5EC9D #9DECD5
monochromatic
#D836B7 #E26ACA #EC9DDC #F6D0EE #FAE5F6

Accessibility & contrast

On white

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

On black

10.42
#EC9DDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9DDC
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9DDC#FFFFFF#000000##000000
##EC9DDC1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB0DE
Deuteranopia (green-blind)
#B0BBDA
Tritanopia (blue-blind)
#F3A0B4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ec9ddc;
/* rgb */ color: rgb(236, 157, 220);
/* oklch */ color: oklch(79.3% 0.123 334.3);
Tailwind
colors: {
  custom: {
    50: '#f3bbe7',
    500: '#ec9ddc',
    950: '#000000',
  },
}
SCSS
$custom: #ec9ddc;
$custom-light: #f3bbe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9ddc",
  "rgb": {
    "r": 236,
    "g": 157,
    "b": 220
  },
  "hsl": {
    "h": 312.152,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7935,
    "c": 0.12318,
    "h": 334.3
  },
  "luminance": 0.47114
}

Semantic roles & 50–950 ramp

primary
#EC9DDC
secondary
#D9F2DE
accent
#CF3C16
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171216
muted
#858184

Preview Lab

Preview with #EC9DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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