#971F23#971F23

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

Color values

HEX#971F23
RGBrgb(151, 31, 35)
HSLhsl(358, 66%, 36%)
HSVhsv(358, 79%, 59%)
CMYKcmyk(0%, 79.5%, 76.8%, 40.8%)
CIE-LABlab(33.31, 48.69, 29.27)
CIE-LCHlch(33.31, 56.81, 31.01°)
OKLaboklab(44.4% 0.1411 0.0653)
OKLCHoklch(44.4% 0.155 24.8)
XYZxyz(13.5575, 7.6828, 2.3589)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F23 #1F9793
analogous
#971F5F #971F23 #97571F
triadic
#971F23 #23971F #1F2397
tetradic
#971F23 #5F971F #1F9793 #571F97
square
#971F23 #5F971F #1F9793 #571F97
split-complementary
#971F23 #1F9757 #1F5F97
monochromatic
#310A0B #641517 #971F23 #CA292F #DC5459

Accessibility & contrast

On white

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

On black

2.54
#971F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##971F23#FFFFFF#000000##FFFFFF
##971F231.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971f23;
/* rgb */ color: rgb(151, 31, 35);
/* oklch */ color: oklch(44.4% 0.155 24.8);
Tailwind
colors: {
  custom: {
    50: '#be665e',
    500: '#971f23',
    950: '#000000',
  },
}
SCSS
$custom: #971f23;
$custom-light: #be665e;
$custom-dark: #000000;
JSON
{
  "hex": "#971f23",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44396,
    "c": 0.15549,
    "h": 24.8
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#971F23
secondary
#52BFBC
accent
#E9E33F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79

Preview Lab

Preview with #971F23

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

Preview Lab → · Contrast checker → · Palette generator →

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