#971F20#971F20

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

Color values

HEX#971F20
RGBrgb(151, 31, 32)
HSLhsl(360, 66%, 36%)
HSVhsv(360, 79%, 59%)
CMYKcmyk(0%, 79.5%, 78.8%, 40.8%)
CIE-LABlab(33.28, 48.57, 31.04)
CIE-LCHlch(33.28, 57.64, 32.58°)
OKLaboklab(44.36% 0.1401 0.0683)
OKLCHoklch(44.36% 0.156 26)
XYZxyz(13.5148, 7.6657, 2.1342)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F20 #1F9796
analogous
#971F5C #971F20 #975A1F
triadic
#971F20 #20971F #1F2097
tetradic
#971F20 #5C971F #1F9796 #5A1F97
square
#971F20 #5C971F #1F9796 #5A1F97
split-complementary
#971F20 #1F975A #1F5C97
monochromatic
#310A0A #641515 #971F20 #CA292B #DC5456

Accessibility & contrast

On white

8.29
#971F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F20
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F20#FFFFFF#000000##FFFFFF
##971F201.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E1E
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#A70021
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971f20;
/* rgb */ color: rgb(151, 31, 32);
/* oklch */ color: oklch(44.4% 0.156 26.0);
Tailwind
colors: {
  custom: {
    50: '#be665c',
    500: '#971f20',
    950: '#000000',
  },
}
SCSS
$custom: #971f20;
$custom-light: #be665c;
$custom-dark: #000000;
JSON
{
  "hex": "#971f20",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44357,
    "c": 0.15583,
    "h": 26
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#971F20
secondary
#52BFBE
accent
#E9E73F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79

Preview Lab

Preview with #971F20

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

Preview Lab → · Contrast checker → · Palette generator →

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