#971F26#971F26

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

Color values

HEX#971F26
RGBrgb(151, 31, 38)
HSLhsl(357, 66%, 36%)
HSVhsv(357, 79%, 59%)
CMYKcmyk(0%, 79.5%, 74.8%, 40.8%)
CIE-LABlab(33.35, 48.82, 27.47)
CIE-LCHlch(33.35, 56.01, 29.37°)
OKLaboklab(44.44% 0.1422 0.0621)
OKLCHoklch(44.44% 0.155 23.6)
XYZxyz(13.6039, 7.7014, 2.6036)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F26 #1F9790
analogous
#971F62 #971F26 #97541F
triadic
#971F26 #26971F #1F2697
tetradic
#971F26 #62971F #1F9790 #541F97
square
#971F26 #62971F #1F9790 #541F97
split-complementary
#971F26 #1F9754 #1F6297
monochromatic
#310A0C #641519 #971F26 #CA2933 #DC545C

Accessibility & contrast

On white

8.27
#971F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F26
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F26#FFFFFF#000000##FFFFFF
##971F261.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E25
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#A70023
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971f26;
/* rgb */ color: rgb(151, 31, 38);
/* oklch */ color: oklch(44.4% 0.155 23.6);
Tailwind
colors: {
  custom: {
    50: '#be6660',
    500: '#971f26',
    950: '#000000',
  },
}
SCSS
$custom: #971f26;
$custom-light: #be6660;
$custom-dark: #000000;
JSON
{
  "hex": "#971f26",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.15517,
    "h": 23.6
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#971F26
secondary
#52BFB9
accent
#E9DF3F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140605
muted
#827A79

Preview Lab

Preview with #971F26

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

Preview Lab → · Contrast checker → · Palette generator →

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