#EC9CD7#EC9CD7

#EC9CD7 is a light, vivid pink. Relative luminance 0.465; OKLCH L 79.0% C 0.121 H 336.8°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#EC9CD7
RGBrgb(236, 156, 215)
HSLhsl(316, 68%, 77%)
HSVhsv(316, 34%, 93%)
CMYKcmyk(0%, 33.9%, 8.9%, 7.5%)
CIE-LABlab(73.88, 38.49, -17.78)
CIE-LCHlch(73.88, 42.40, 335.21°)
OKLaboklab(79% 0.111 -0.0475)
OKLCHoklch(79% 0.121 336.8)
XYZxyz(58.7460, 46.5189, 70.1615)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9CD7 #9CECB1
analogous
#D99CEC #EC9CD7 #EC9CAF
triadic
#EC9CD7 #D7EC9C #9CD7EC
tetradic
#EC9CD7 #ECD99C #9CECB1 #9CAFEC
square
#EC9CD7 #ECD99C #9CECB1 #9CAFEC
split-complementary
#EC9CD7 #AFEC9C #9CECD9
monochromatic
#D835AE #E269C2 #EC9CD7 #F6CFEC #FAE5F5

Accessibility & contrast

On white

2.04
#EC9CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#EC9CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9CD7
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9CD7#FFFFFF#000000##000000
##EC9CD71.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAED9
Deuteranopia (green-blind)
#B1BAD5
Tritanopia (blue-blind)
#F49EB1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ec9cd7;
/* rgb */ color: rgb(236, 156, 215);
/* oklch */ color: oklch(79.0% 0.121 336.8);
Tailwind
colors: {
  custom: {
    50: '#f3bae3',
    500: '#ec9cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec9cd7;
$custom-light: #f3bae3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9cd7",
  "rgb": {
    "r": 236,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 315.75,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79004,
    "c": 0.12076,
    "h": 336.8
  },
  "luminance": 0.46516
}

Semantic roles & 50–950 ramp

primary
#EC9CD7
secondary
#D9F2E0
accent
#D04716
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171215
muted
#858183

Preview Lab

Preview with #EC9CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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