#EC9DB7#EC9DB7

#EC9DB7 is a light, moderate pink. Relative luminance 0.454; OKLCH L 78.1% C 0.099 H 358.3°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#EC9DB7
RGBrgb(236, 157, 183)
HSLhsl(340, 68%, 77%)
HSVhsv(340, 33%, 93%)
CMYKcmyk(0%, 33.5%, 22.5%, 7.5%)
CIE-LABlab(73.13, 32.95, -1.28)
CIE-LCHlch(73.13, 32.98, 357.78°)
OKLaboklab(78.12% 0.0991 -0.0029)
OKLCHoklch(78.12% 0.099 358.3)
XYZxyz(55.1973, 45.3690, 50.6403)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9DB7 #9DECD2
analogous
#EC9DDF #EC9DB7 #ECAB9D
triadic
#EC9DB7 #B7EC9D #9DB7EC
tetradic
#EC9DB7 #DFEC9D #9DECD2 #AB9DEC
square
#EC9DB7 #DFEC9D #9DECD2 #AB9DEC
split-complementary
#EC9DB7 #9DECAB #9DDFEC
monochromatic
#D8366C #E26A91 #EC9DB7 #F6D0DD #FAE5EC

Accessibility & contrast

On white

2.08
#EC9DB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#EC9DB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9DB7
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9DB7#FFFFFF#000000##000000
##EC9DB71.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7ABB8
Deuteranopia (green-blind)
#BAB9B5
Tritanopia (blue-blind)
#F899A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec9db7;
/* rgb */ color: rgb(236, 157, 183);
/* oklch */ color: oklch(78.1% 0.099 358.3);
Tailwind
colors: {
  custom: {
    50: '#f3bbcc',
    500: '#ec9db7',
    950: '#000000',
  },
}
SCSS
$custom: #ec9db7;
$custom-light: #f3bbcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9db7",
  "rgb": {
    "r": 236,
    "g": 157,
    "b": 183
  },
  "hsl": {
    "h": 340.253,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78116,
    "c": 0.09912,
    "h": 358.3
  },
  "luminance": 0.45366
}

Semantic roles & 50–950 ramp

primary
#EC9DB7
secondary
#D9F2EA
accent
#CF9216
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171213
muted
#858182

Preview Lab

Preview with #EC9DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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