#971F22#971F22

#971F22 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.4% C 0.156 H 25.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#971F22
RGBrgb(151, 31, 34)
HSLhsl(359, 66%, 36%)
HSVhsv(359, 79%, 59%)
CMYKcmyk(0%, 79.5%, 77.5%, 40.8%)
CIE-LABlab(33.30, 48.65, 29.86)
CIE-LCHlch(33.30, 57.08, 31.54°)
OKLaboklab(44.38% 0.1407 0.0663)
OKLCHoklch(44.38% 0.156 25.2)
XYZxyz(13.5428, 7.6769, 2.2818)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F22 #1F9794
analogous
#971F5E #971F22 #97581F
triadic
#971F22 #22971F #1F2297
tetradic
#971F22 #5E971F #1F9794 #581F97
square
#971F22 #5E971F #1F9794 #581F97
split-complementary
#971F22 #1F9758 #1F5E97
monochromatic
#310A0B #641517 #971F22 #CA292D #DC5458

Accessibility & contrast

On white

8.28
#971F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#971F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F22
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F22#FFFFFF#000000##FFFFFF
##971F221.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E21
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#A70022
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971f22;
/* rgb */ color: rgb(151, 31, 34);
/* oklch */ color: oklch(44.4% 0.156 25.2);
Tailwind
colors: {
  custom: {
    50: '#be665d',
    500: '#971f22',
    950: '#000000',
  },
}
SCSS
$custom: #971f22;
$custom-light: #be665d;
$custom-dark: #000000;
JSON
{
  "hex": "#971f22",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.1556,
    "h": 25.2
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#971F22
secondary
#52BFBD
accent
#E9E53F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79

Preview Lab

Preview with #971F22

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

Preview Lab → · Contrast checker → · Palette generator →

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