#D99EB2#D99EB2

#D99EB2 is a light, moderate pink. Relative luminance 0.424; OKLCH L 76.1% C 0.075 H 356.9°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D99EB2
RGBrgb(217, 158, 178)
HSLhsl(340, 44%, 74%)
HSVhsv(340, 27%, 85%)
CMYKcmyk(0%, 27.2%, 18%, 14.9%)
CIE-LABlab(71.16, 24.89, -1.65)
CIE-LCHlch(71.16, 24.95, 356.22°)
OKLaboklab(76.1% 0.0744 -0.004)
OKLCHoklch(76.1% 0.075 356.9)
XYZxyz(48.8783, 42.4221, 47.7245)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EB2 #9ED9C5
analogous
#D99ECF #D99EB2 #D9A79E
triadic
#D99EB2 #B2D99E #9EB2D9
tetradic
#D99EB2 #CFD99E #9ED9C5 #A79ED9
square
#D99EB2 #CFD99E #9ED9C5 #A79ED9
split-complementary
#D99EB2 #9ED9A7 #9ECFD9
monochromatic
#B5476D #C8728F #D99EB2 #EACAD5 #F6E9EE

Accessibility & contrast

On white

2.21
#D99EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#D99EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EB2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EB2#FFFFFF#000000##000000
##D99EB21.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A8B3
Deuteranopia (green-blind)
#B2B2B1
Tritanopia (blue-blind)
#E39BA5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d99eb2;
/* rgb */ color: rgb(217, 158, 178);
/* oklch */ color: oklch(76.1% 0.075 356.9);
Tailwind
colors: {
  custom: {
    50: '#e5bbc9',
    500: '#d99eb2',
    950: '#000000',
  },
}
SCSS
$custom: #d99eb2;
$custom-light: #e5bbc9;
$custom-dark: #000000;
JSON
{
  "hex": "#d99eb2",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 178
  },
  "hsl": {
    "h": 339.661,
    "s": 43.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76097,
    "c": 0.07454,
    "h": 356.9
  },
  "luminance": 0.4242
}

Semantic roles & 50–950 ramp

primary
#D99EB2
secondary
#DEEDE8
accent
#B7892F
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161213
muted
#848182

Preview Lab

Preview with #D99EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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