#D9878E#D9878E

#D9878E is a light, moderate red. Relative luminance 0.340; OKLCH L 71.1% C 0.101 H 14.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D9878E
RGBrgb(217, 135, 142)
HSLhsl(355, 52%, 69%)
HSVhsv(355, 38%, 85%)
CMYKcmyk(0%, 37.8%, 34.6%, 14.9%)
CIE-LABlab(64.99, 32.23, 9.59)
CIE-LCHlch(64.99, 33.63, 16.57°)
OKLaboklab(71.06% 0.0977 0.0251)
OKLCHoklch(71.06% 0.101 14.4)
XYZxyz(42.1634, 34.0359, 29.9348)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9878E #87D9D2
analogous
#D987B7 #D9878E #D9A987
triadic
#D9878E #8ED987 #878ED9
tetradic
#D9878E #B7D987 #87D9D2 #A987D9
square
#D9878E #B7D987 #87D9D2 #A987D9
split-complementary
#D9878E #87D9A9 #87B7D9
monochromatic
#AE3741 #CA5962 #D9878E #E8B5BA #F6E4E6

Accessibility & contrast

On white

2.69
#D9878E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D9878E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9878E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9878E#FFFFFF#000000##000000
##D9878E1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96948E
Deuteranopia (green-blind)
#AAA48C
Tritanopia (blue-blind)
#E87F8A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d9878e;
/* rgb */ color: rgb(217, 135, 142);
/* oklch */ color: oklch(71.1% 0.101 14.4);
Tailwind
colors: {
  custom: {
    50: '#e7abaf',
    500: '#d9878e',
    950: '#000000',
  },
}
SCSS
$custom: #d9878e;
$custom-light: #e7abaf;
$custom-dark: #000000;
JSON
{
  "hex": "#d9878e",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 354.878,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.10091,
    "h": 14.4
  },
  "luminance": 0.34033
}

Semantic roles & 50–950 ramp

primary
#D9878E
secondary
#D2EAE8
accent
#BFB226
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#161010
muted
#847F7F

Preview Lab

Preview with #D9878E

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

Preview Lab → · Contrast checker → · Palette generator →

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