#D98E8F#D98E8F

#D98E8F is a light, moderate red. Relative luminance 0.361; OKLCH L 72.3% C 0.092 H 18.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D98E8F
RGBrgb(217, 142, 143)
HSLhsl(359, 50%, 70%)
HSVhsv(359, 35%, 85%)
CMYKcmyk(0%, 34.6%, 34.1%, 14.9%)
CIE-LABlab(66.58, 28.61, 11.29)
CIE-LCHlch(66.58, 30.75, 21.53°)
OKLaboklab(72.29% 0.0868 0.0294)
OKLCHoklch(72.29% 0.092 18.7)
XYZxyz(43.2477, 36.0840, 30.6683)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98E8F #8ED9D8
analogous
#D98EB4 #D98E8F #D9B28E
triadic
#D98E8F #8FD98E #8E8FD9
tetradic
#D98E8F #B4D98E #8ED9D8 #B28ED9
square
#D98E8F #B4D98E #8ED9D8 #B28ED9
split-complementary
#D98E8F #8ED9B2 #8EB4D9
monochromatic
#B13C3D #CA6062 #D98E8F #E8BCBC #F7E8E8

Accessibility & contrast

On white

2.56
#D98E8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#D98E8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98E8F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98E8F#FFFFFF#000000##000000
##D98E8F1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C998F
Deuteranopia (green-blind)
#AEA88E
Tritanopia (blue-blind)
#E7868F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d98e8f;
/* rgb */ color: rgb(217, 142, 143);
/* oklch */ color: oklch(72.3% 0.092 18.7);
Tailwind
colors: {
  custom: {
    50: '#e7b0af',
    500: '#d98e8f',
    950: '#000000',
  },
}
SCSS
$custom: #d98e8f;
$custom-light: #e7b0af;
$custom-dark: #000000;
JSON
{
  "hex": "#d98e8f",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 143
  },
  "hsl": {
    "h": 359.2,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72285,
    "c": 0.09164,
    "h": 18.7
  },
  "luminance": 0.36081
}

Semantic roles & 50–950 ramp

primary
#D98E8F
secondary
#D7ECEB
accent
#BDBB29
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#161010
muted
#847F7F

Preview Lab

Preview with #D98E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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