#D1978E#D1978E

#D1978E is a light, moderate red. Relative luminance 0.376; OKLCH L 73.0% C 0.072 H 28.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#D1978E
RGBrgb(209, 151, 142)
HSLhsl(8, 42%, 69%)
HSVhsv(8, 32%, 82%)
CMYKcmyk(0%, 27.8%, 32.1%, 18%)
CIE-LABlab(67.76, 20.55, 13.37)
CIE-LCHlch(67.76, 24.52, 33.04°)
OKLaboklab(72.98% 0.0628 0.0345)
OKLCHoklch(72.98% 0.072 28.8)
XYZxyz(42.2448, 37.6440, 30.6269)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1978E #8EC8D1
analogous
#D18EA7 #D1978E #D1B98E
triadic
#D1978E #8ED197 #978ED1
tetradic
#D1978E #A7D18E #8EC8D1 #B98ED1
square
#D1978E #A7D18E #8EC8D1 #B98ED1
split-complementary
#D1978E #8ED1B9 #8EA7D1
monochromatic
#A24F42 #BF6F63 #D1978E #E3BFB9 #F4E7E5

Accessibility & contrast

On white

2.46
#D1978E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#D1978E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1978E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1978E#FFFFFF#000000##000000
##D1978E1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39E8D
Deuteranopia (green-blind)
#B1AA8D
Tritanopia (blue-blind)
#DE9095
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d1978e;
/* rgb */ color: rgb(209, 151, 142);
/* oklch */ color: oklch(73.0% 0.072 28.8);
Tailwind
colors: {
  custom: {
    50: '#e0b6af',
    500: '#d1978e',
    950: '#000000',
  },
}
SCSS
$custom: #d1978e;
$custom-light: #e0b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#d1978e",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 142
  },
  "hsl": {
    "h": 8.06,
    "s": 42.138,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72984,
    "c": 0.07163,
    "h": 28.8
  },
  "luminance": 0.37642
}

Semantic roles & 50–950 ramp

primary
#D1978E
secondary
#D3E5E7
accent
#A3B530
background
#FDFBFA
surface
#FBF6F4
border
#D4D0CE
text
#151110
muted
#83807F

Preview Lab

Preview with #D1978E

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

Preview Lab → · Contrast checker → · Palette generator →

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