#D98E8A#D98E8A

#D98E8A is a light, moderate red. Relative luminance 0.359; OKLCH L 72.2% C 0.092 H 22.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D98E8A
RGBrgb(217, 142, 138)
HSLhsl(3, 51%, 70%)
HSVhsv(3, 36%, 85%)
CMYKcmyk(0%, 34.6%, 36.4%, 14.9%)
CIE-LABlab(66.47, 27.99, 13.93)
CIE-LCHlch(66.47, 31.27, 26.46°)
OKLaboklab(72.16% 0.0849 0.0359)
OKLCHoklch(72.16% 0.092 22.9)
XYZxyz(42.8774, 35.9358, 28.7178)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98E8A #8AD5D9
analogous
#D98AAE #D98E8A #D9B68A
triadic
#D98E8A #8AD98E #8E8AD9
tetradic
#D98E8A #AED98A #8AD5D9 #B68AD9
square
#D98E8A #AED98A #8AD5D9 #B68AD9
split-complementary
#D98E8A #8AD9B6 #8AAED9
monochromatic
#B03F39 #CA615C #D98E8A #E8BBB8 #F7E7E6

Accessibility & contrast

On white

2.57
#D98E8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#D98E8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98E8A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98E8A#FFFFFF#000000##000000
##D98E8A1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9989
Deuteranopia (green-blind)
#AFA789
Tritanopia (blue-blind)
#E8858D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d98e8a;
/* rgb */ color: rgb(217, 142, 138);
/* oklch */ color: oklch(72.2% 0.092 22.9);
Tailwind
colors: {
  custom: {
    50: '#e7afac',
    500: '#d98e8a',
    950: '#000000',
  },
}
SCSS
$custom: #d98e8a;
$custom-light: #e7afac;
$custom-dark: #000000;
JSON
{
  "hex": "#d98e8a",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 138
  },
  "hsl": {
    "h": 3.038,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72161,
    "c": 0.09214,
    "h": 22.9
  },
  "luminance": 0.35933
}

Semantic roles & 50–950 ramp

primary
#D98E8A
secondary
#D4EAEB
accent
#B7BE27
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#161010
muted
#847F7F

Preview Lab

Preview with #D98E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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