#D98E87#D98E87

#D98E87 is a light, moderate red. Relative luminance 0.358; OKLCH L 72.1% C 0.093 H 25.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D98E87
RGBrgb(217, 142, 135)
HSLhsl(5, 52%, 69%)
HSVhsv(5, 38%, 85%)
CMYKcmyk(0%, 34.6%, 37.8%, 14.9%)
CIE-LABlab(66.41, 27.64, 15.52)
CIE-LCHlch(66.41, 31.70, 29.32°)
OKLaboklab(72.09% 0.0837 0.0398)
OKLCHoklch(72.09% 0.093 25.4)
XYZxyz(42.6632, 35.8501, 27.5897)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98E87 #87D2D9
analogous
#D987A9 #D98E87 #D9B787
triadic
#D98E87 #87D98E #8E87D9
tetradic
#D98E87 #A9D987 #87D2D9 #B787D9
square
#D98E87 #A9D987 #87D2D9 #B787D9
split-complementary
#D98E87 #87D9B7 #87A9D9
monochromatic
#AE4137 #CA6259 #D98E87 #E8BAB5 #F6E6E4

Accessibility & contrast

On white

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

On black

8.17
#D98E87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98E87
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98E87#FFFFFF#000000##000000
##D98E871.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9886
Deuteranopia (green-blind)
#B0A786
Tritanopia (blue-blind)
#E8858C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d98e87;
/* rgb */ color: rgb(217, 142, 135);
/* oklch */ color: oklch(72.1% 0.093 25.4);
Tailwind
colors: {
  custom: {
    50: '#e7afaa',
    500: '#d98e87',
    950: '#000000',
  },
}
SCSS
$custom: #d98e87;
$custom-light: #e7afaa;
$custom-dark: #000000;
JSON
{
  "hex": "#d98e87",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 135
  },
  "hsl": {
    "h": 5.122,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.09266,
    "h": 25.4
  },
  "luminance": 0.35847
}

Semantic roles & 50–950 ramp

primary
#D98E87
secondary
#D2E8EA
accent
#B2BF26
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#161010
muted
#847F7F

Preview Lab

Preview with #D98E87

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

Preview Lab → · Contrast checker → · Palette generator →

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