#D998BB#D998BB

#D998BB is a light, moderate pink. Relative luminance 0.408; OKLCH L 75.3% C 0.090 H 346.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#D998BB
RGBrgb(217, 152, 187)
HSLhsl(328, 46%, 72%)
HSVhsv(328, 30%, 85%)
CMYKcmyk(0%, 30%, 13.8%, 14.9%)
CIE-LABlab(70.03, 29.57, -8.30)
CIE-LCHlch(70.03, 30.71, 344.32°)
OKLaboklab(75.32% 0.087 -0.0218)
OKLCHoklch(75.32% 0.09 346)
XYZxyz(48.8132, 40.7984, 52.3078)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D998BB #98D9B6
analogous
#D698D9 #D998BB #D9989B
triadic
#D998BB #BBD998 #98BBD9
tetradic
#D998BB #D9D698 #98D9B6 #989BD9
square
#D998BB #D9D698 #98D9B6 #989BD9
split-complementary
#D998BB #9BD998 #98D9D6
monochromatic
#B44280 #C96B9D #D998BB #E9C5D9 #F7E9F0

Accessibility & contrast

On white

2.29
#D998BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#D998BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D998BB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D998BB#FFFFFF#000000##000000
##D998BB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA5BC
Deuteranopia (green-blind)
#ACAFB9
Tritanopia (blue-blind)
#E297A4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d998bb;
/* rgb */ color: rgb(217, 152, 187);
/* oklch */ color: oklch(75.3% 0.090 346.0);
Tailwind
colors: {
  custom: {
    50: '#e5b7cf',
    500: '#d998bb',
    950: '#000000',
  },
}
SCSS
$custom: #d998bb;
$custom-light: #e5b7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d998bb",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 327.692,
    "s": 46.099,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75318,
    "c": 0.08969,
    "h": 346
  },
  "luminance": 0.40796
}

Semantic roles & 50–950 ramp

primary
#D998BB
secondary
#DDEEE5
accent
#B96D2C
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161113
muted
#848082

Preview Lab

Preview with #D998BB

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

Preview Lab → · Contrast checker → · Palette generator →

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