#D99EC2#D99EC2

#D99EC2 is a light, moderate pink. Relative luminance 0.431; OKLCH L 76.6% C 0.084 H 342.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#D99EC2
RGBrgb(217, 158, 194)
HSLhsl(323, 44%, 74%)
HSVhsv(323, 27%, 85%)
CMYKcmyk(0%, 27.2%, 10.6%, 14.9%)
CIE-LABlab(71.62, 27.49, -9.81)
CIE-LCHlch(71.62, 29.19, 340.35°)
OKLaboklab(76.61% 0.08 -0.0259)
OKLCHoklch(76.61% 0.084 342.1)
XYZxyz(50.5795, 43.1026, 56.6838)
Luminance0.4310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EC2 #9ED9B5
analogous
#D29ED9 #D99EC2 #D99EA4
triadic
#D99EC2 #C2D99E #9EC2D9
tetradic
#D99EC2 #D9D29E #9ED9B5 #9EA4D9
square
#D99EC2 #D9D29E #9ED9B5 #9EA4D9
split-complementary
#D99EC2 #A4D99E #9ED9D2
monochromatic
#B5478A #C872A6 #D99EC2 #EACADE #F6E9F1

Accessibility & contrast

On white

2.18
#D99EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#D99EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EC2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EC2#FFFFFF#000000##000000
##D99EC21.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1AAC3
Deuteranopia (green-blind)
#AFB3C0
Tritanopia (blue-blind)
#E09EAA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d99ec2;
/* rgb */ color: rgb(217, 158, 194);
/* oklch */ color: oklch(76.6% 0.084 342.1);
Tailwind
colors: {
  custom: {
    50: '#e5bbd4',
    500: '#d99ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d99ec2;
$custom-light: #e5bbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ec2",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 194
  },
  "hsl": {
    "h": 323.39,
    "s": 43.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76607,
    "c": 0.08412,
    "h": 342.1
  },
  "luminance": 0.431
}

Semantic roles & 50–950 ramp

primary
#D99EC2
secondary
#DEEDE4
accent
#B7642F
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161214
muted
#848183

Preview Lab

Preview with #D99EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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