#971F31#971F31

#971F31 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.154 H 18.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#971F31
RGBrgb(151, 31, 49)
HSLhsl(351, 66%, 36%)
HSVhsv(351, 79%, 59%)
CMYKcmyk(0%, 79.5%, 67.5%, 40.8%)
CIE-LABlab(33.53, 49.37, 20.73)
CIE-LCHlch(33.53, 53.54, 22.77°)
OKLaboklab(44.62% 0.1465 0.0491)
OKLCHoklch(44.62% 0.154 18.5)
XYZxyz(13.8084, 7.7831, 3.6804)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F31 #1F9785
analogous
#971F6D #971F31 #97491F
triadic
#971F31 #31971F #1F3197
tetradic
#971F31 #6D971F #1F9785 #491F97
square
#971F31 #6D971F #1F9785 #491F97
split-complementary
#971F31 #1F9749 #1F6D97
monochromatic
#310A10 #641521 #971F31 #CA2941 #DC5469

Accessibility & contrast

On white

8.22
#971F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#971F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F31
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F31#FFFFFF#000000##FFFFFF
##971F311.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F31
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#A60027
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971f31;
/* rgb */ color: rgb(151, 31, 49);
/* oklch */ color: oklch(44.6% 0.154 18.5);
Tailwind
colors: {
  custom: {
    50: '#bd6768',
    500: '#971f31',
    950: '#000000',
  },
}
SCSS
$custom: #971f31;
$custom-light: #bd6768;
$custom-dark: #000000;
JSON
{
  "hex": "#971f31",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 351,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44623,
    "c": 0.15449,
    "h": 18.5
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#971F31
secondary
#52BFAF
accent
#E9CF3F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #971F31

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

Preview Lab → · Contrast checker → · Palette generator →

#971F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva