#971F1F#971F1F

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

Color values

HEX#971F1F
RGBrgb(151, 31, 31)
HSLhsl(0, 66%, 36%)
HSVhsv(0, 79%, 59%)
CMYKcmyk(0%, 79.5%, 79.5%, 40.8%)
CIE-LABlab(33.27, 48.53, 31.62)
CIE-LCHlch(33.27, 57.92, 33.08°)
OKLaboklab(44.35% 0.1397 0.0693)
OKLCHoklch(44.35% 0.156 26.4)
XYZxyz(13.5014, 7.6604, 2.0638)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F1F #1F9797
analogous
#971F5B #971F1F #975B1F
triadic
#971F1F #1F971F #1F1F97
tetradic
#971F1F #5B971F #1F9797 #5B1F97
square
#971F1F #5B971F #1F9797 #5B1F97
split-complementary
#971F1F #1F975B #1F5B97
monochromatic
#310A0A #641515 #971F1F #CA2929 #DC5454

Accessibility & contrast

On white

8.30
#971F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F1F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F1F#FFFFFF#000000##FFFFFF
##971F1F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#A70021
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971f1f;
/* rgb */ color: rgb(151, 31, 31);
/* oklch */ color: oklch(44.3% 0.156 26.4);
Tailwind
colors: {
  custom: {
    50: '#be665b',
    500: '#971f1f',
    950: '#000000',
  },
}
SCSS
$custom: #971f1f;
$custom-light: #be665b;
$custom-dark: #000000;
JSON
{
  "hex": "#971f1f",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.15595,
    "h": 26.4
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#971F1F
secondary
#52BFBF
accent
#E9E93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79

Preview Lab

Preview with #971F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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