#D1978F#D1978F

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

Color values

HEX#D1978F
RGBrgb(209, 151, 143)
HSLhsl(7, 42%, 69%)
HSVhsv(7, 32%, 82%)
CMYKcmyk(0%, 27.8%, 31.6%, 18%)
CIE-LABlab(67.78, 20.68, 12.84)
CIE-LCHlch(67.78, 24.35, 31.84°)
OKLaboklab(73.01% 0.0631 0.0332)
OKLCHoklch(73.01% 0.071 27.8)
XYZxyz(42.3202, 37.6742, 31.0240)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1978F #8FC9D1
analogous
#D18FA8 #D1978F #D1B88F
triadic
#D1978F #8FD197 #978FD1
tetradic
#D1978F #A8D18F #8FC9D1 #B88FD1
square
#D1978F #A8D18F #8FC9D1 #B88FD1
split-complementary
#D1978F #8FD1B8 #8FA8D1
monochromatic
#A34E43 #BF6F64 #D1978F #E3BFBA #F5E8E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1978F#FFFFFF#000000##000000
##D1978F1.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)
#A39E8E
Deuteranopia (green-blind)
#B1AA8E
Tritanopia (blue-blind)
#DE9095
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d1978f;
/* rgb */ color: rgb(209, 151, 143);
/* oklch */ color: oklch(73.0% 0.071 27.8);
Tailwind
colors: {
  custom: {
    50: '#e0b6af',
    500: '#d1978f',
    950: '#000000',
  },
}
SCSS
$custom: #d1978f;
$custom-light: #e0b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#d1978f",
  "rgb": {
    "r": 209,
    "g": 151,
    "b": 143
  },
  "hsl": {
    "h": 7.273,
    "s": 41.772,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73008,
    "c": 0.07136,
    "h": 27.8
  },
  "luminance": 0.37672
}

Semantic roles & 50–950 ramp

primary
#D1978F
secondary
#D4E5E8
accent
#A5B531
background
#FDFBFA
surface
#FBF6F4
border
#D4D0CE
text
#151110
muted
#83807F

Preview Lab

Preview with #D1978F

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

Preview Lab → · Contrast checker → · Palette generator →

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