#D98C8E#D98C8E

#D98C8E is a light, moderate red. Relative luminance 0.355; OKLCH L 71.9% C 0.094 H 18.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D98C8E
RGBrgb(217, 140, 142)
HSLhsl(358, 50%, 70%)
HSVhsv(358, 35%, 85%)
CMYKcmyk(0%, 35.5%, 34.6%, 14.9%)
CIE-LABlab(66.11, 29.56, 11.17)
CIE-LCHlch(66.11, 31.60, 20.71°)
OKLaboklab(71.91% 0.0897 0.0291)
OKLCHoklch(71.91% 0.094 18)
XYZxyz(42.8774, 35.4640, 30.1729)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98C8E #8CD9D7
analogous
#D98CB4 #D98C8E #D9B18C
triadic
#D98C8E #8ED98C #8C8ED9
tetradic
#D98C8E #B4D98C #8CD9D7 #B18CD9
square
#D98C8E #B4D98C #8CD9D7 #B18CD9
split-complementary
#D98C8E #8CD9B1 #8CB4D9
monochromatic
#B03A3D #CA5E61 #D98C8E #E8BABB #F7E8E8

Accessibility & contrast

On white

2.60
#D98C8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D98C8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98C8E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98C8E#FFFFFF#000000##000000
##D98C8E1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B988E
Deuteranopia (green-blind)
#ADA68D
Tritanopia (blue-blind)
#E7848D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d98c8e;
/* rgb */ color: rgb(217, 140, 142);
/* oklch */ color: oklch(71.9% 0.094 18.0);
Tailwind
colors: {
  custom: {
    50: '#e7aeaf',
    500: '#d98c8e',
    950: '#000000',
  },
}
SCSS
$custom: #d98c8e;
$custom-light: #e7aeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#d98c8e",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 142
  },
  "hsl": {
    "h": 358.442,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.71912,
    "c": 0.09426,
    "h": 18
  },
  "luminance": 0.35461
}

Semantic roles & 50–950 ramp

primary
#D98C8E
secondary
#D6EBEB
accent
#BEBA28
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#161010
muted
#847F7F

Preview Lab

Preview with #D98C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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