#D998A2#D998A2

#D998A2 is a light, moderate red. Relative luminance 0.398; OKLCH L 74.6% C 0.079 H 9.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#D998A2
RGBrgb(217, 152, 162)
HSLhsl(351, 46%, 72%)
HSVhsv(351, 30%, 85%)
CMYKcmyk(0%, 30%, 25.3%, 14.9%)
CIE-LABlab(69.34, 25.75, 4.60)
CIE-LCHlch(69.34, 26.16, 10.12°)
OKLaboklab(74.56% 0.078 0.0124)
OKLCHoklch(74.56% 0.079 9)
XYZxyz(46.3660, 39.8195, 39.4192)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D998A2 #98D9CF
analogous
#D998C3 #D998A2 #D9AE98
triadic
#D998A2 #A2D998 #98A2D9
tetradic
#D998A2 #C3D998 #98D9CF #AE98D9
square
#D998A2 #C3D998 #98D9CF #AE98D9
split-complementary
#D998A2 #98D9AE #98C3D9
monochromatic
#B44254 #C96B7A #D998A2 #E9C5CA #F7E9EB

Accessibility & contrast

On white

2.34
#D998A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#D998A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D998A2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D998A2#FFFFFF#000000##000000
##D998A21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A2A2
Deuteranopia (green-blind)
#B2AEA1
Tritanopia (blue-blind)
#E5939C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d998a2;
/* rgb */ color: rgb(217, 152, 162);
/* oklch */ color: oklch(74.6% 0.079 9.0);
Tailwind
colors: {
  custom: {
    50: '#e6b7bd',
    500: '#d998a2',
    950: '#000000',
  },
}
SCSS
$custom: #d998a2;
$custom-light: #e6b7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d998a2",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 162
  },
  "hsl": {
    "h": 350.769,
    "s": 46.099,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74557,
    "c": 0.079,
    "h": 9
  },
  "luminance": 0.39817
}

Semantic roles & 50–950 ramp

primary
#D998A2
secondary
#DDEEEB
accent
#B9A42C
background
#FEFBFB
surface
#FCF6F6
border
#D5D0D0
text
#161112
muted
#848081

Preview Lab

Preview with #D998A2

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

Preview Lab → · Contrast checker → · Palette generator →

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