#D99ECC#D99ECC

#D99ECC is a light, moderate pink. Relative luminance 0.436; OKLCH L 77.0% C 0.092 H 334.5°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#D99ECC
RGBrgb(217, 158, 204)
HSLhsl(313, 44%, 74%)
HSVhsv(313, 27%, 85%)
CMYKcmyk(0%, 27.2%, 6%, 14.9%)
CIE-LABlab(71.94, 29.21, -14.86)
CIE-LCHlch(71.94, 32.78, 333.04°)
OKLaboklab(76.95% 0.0833 -0.0397)
OKLCHoklch(76.95% 0.092 334.5)
XYZxyz(51.7405, 43.5670, 62.7988)
Luminance0.4356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99ECC #9ED9AB
analogous
#C89ED9 #D99ECC #D99EAE
triadic
#D99ECC #CCD99E #9ECCD9
tetradic
#D99ECC #D9C89E #9ED9AB #9EAED9
square
#D99ECC #D9C89E #9ED9AB #9EAED9
split-complementary
#D99ECC #AED99E #9ED9C8
monochromatic
#B5479D #C872B5 #D99ECC #EACAE3 #F6E9F3

Accessibility & contrast

On white

2.16
#D99ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#D99ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99ECC
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99ECC#FFFFFF#000000##000000
##D99ECC1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EABCE
Deuteranopia (green-blind)
#ACB3CA
Tritanopia (blue-blind)
#DFA0AE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d99ecc;
/* rgb */ color: rgb(217, 158, 204);
/* oklch */ color: oklch(77.0% 0.092 334.5);
Tailwind
colors: {
  custom: {
    50: '#e5bbdb',
    500: '#d99ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d99ecc;
$custom-light: #e5bbdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ecc",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 204
  },
  "hsl": {
    "h": 313.22,
    "s": 43.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7695,
    "c": 0.09227,
    "h": 334.5
  },
  "luminance": 0.43565
}

Semantic roles & 50–950 ramp

primary
#D99ECC
secondary
#DEEDE1
accent
#B74D2F
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161215
muted
#848183

Preview Lab

Preview with #D99ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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