#D998CD#D998CD

#D998CD is a light, moderate pink. Relative luminance 0.416; OKLCH L 75.9% C 0.104 H 333.3°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#D998CD
RGBrgb(217, 152, 205)
HSLhsl(311, 46%, 72%)
HSVhsv(311, 30%, 85%)
CMYKcmyk(0%, 30%, 5.5%, 14.9%)
CIE-LABlab(70.61, 32.63, -17.42)
CIE-LCHlch(70.61, 36.99, 331.90°)
OKLaboklab(75.94% 0.0928 -0.0467)
OKLCHoklch(75.94% 0.104 333.3)
XYZxyz(50.8623, 41.6180, 63.0997)
Luminance0.4162 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D998CD #98D9A4
analogous
#C598D9 #D998CD #D998AD
triadic
#D998CD #CDD998 #98CDD9
tetradic
#D998CD #D9C598 #98D9A4 #98ADD9
square
#D998CD #D9C598 #98D9A4 #98ADD9
split-complementary
#D998CD #ADD998 #98D9C5
monochromatic
#B4429F #C96BB7 #D998CD #E9C5E3 #F7E9F4

Accessibility & contrast

On white

2.25
#D998CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#D998CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D998CD
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D998CD#FFFFFF#000000##000000
##D998CD1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CF
Deuteranopia (green-blind)
#A7B0CB
Tritanopia (blue-blind)
#DF9BAB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d998cd;
/* rgb */ color: rgb(217, 152, 205);
/* oklch */ color: oklch(75.9% 0.104 333.3);
Tailwind
colors: {
  custom: {
    50: '#e5b7dc',
    500: '#d998cd',
    950: '#000000',
  },
}
SCSS
$custom: #d998cd;
$custom-light: #e5b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d998cd",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 311.077,
    "s": 46.099,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75944,
    "c": 0.10387,
    "h": 333.3
  },
  "luminance": 0.41616
}

Semantic roles & 50–950 ramp

primary
#D998CD
secondary
#DDEEE0
accent
#B9462C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D998CD

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

Preview Lab → · Contrast checker → · Palette generator →

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