#D97871#D97871

#D97871 is a light, vivid red. Relative luminance 0.294; OKLCH L 67.9% C 0.122 H 25.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D97871
RGBrgb(217, 120, 113)
HSLhsl(4, 58%, 65%)
HSVhsv(4, 48%, 85%)
CMYKcmyk(0%, 44.7%, 47.9%, 14.9%)
CIE-LABlab(61.12, 36.96, 20.66)
CIE-LCHlch(61.12, 42.34, 29.21°)
OKLaboklab(67.89% 0.1106 0.0518)
OKLCHoklch(67.89% 0.122 25.1)
XYZxyz(38.3148, 29.3807, 19.2728)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97871 #71D2D9
analogous
#D9719E #D97871 #D9AC71
triadic
#D97871 #71D978 #7871D9
tetradic
#D97871 #9ED971 #71D2D9 #AC71D9
square
#D97871 #9ED971 #71D2D9 #AC71D9
split-complementary
#D97871 #71D9AC #719ED9
monochromatic
#A4342C #CC4A41 #D97871 #E6A6A1 #F3D4D2

Accessibility & contrast

On white

3.05
#D97871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D97871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D97871
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97871#FFFFFF#000000##000000
##D978711.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8770
Deuteranopia (green-blind)
#A69B6F
Tritanopia (blue-blind)
#EB6A77
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d97871;
/* rgb */ color: rgb(217, 120, 113);
/* oklch */ color: oklch(67.9% 0.122 25.1);
Tailwind
colors: {
  custom: {
    50: '#e8a099',
    500: '#d97871',
    950: '#000000',
  },
}
SCSS
$custom: #d97871;
$custom-light: #e8a099;
$custom-dark: #000000;
JSON
{
  "hex": "#d97871",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 4.038,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.12211,
    "h": 25.1
  },
  "luminance": 0.29377
}

Semantic roles & 50–950 ramp

primary
#D97871
secondary
#C1E2E5
accent
#BAC520
background
#FEFAF9
surface
#FDF3F2
border
#D5CDCC
text
#170F0E
muted
#857F7E

Preview Lab

Preview with #D97871

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

Preview Lab → · Contrast checker → · Palette generator →

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