#971A1F#971A1F

#971A1F is a dark, vivid red. Relative luminance 0.074; OKLCH L 44.0% C 0.160 H 25.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#971A1F
RGBrgb(151, 26, 31)
HSLhsl(358, 71%, 35%)
HSVhsv(358, 83%, 59%)
CMYKcmyk(0%, 82.8%, 79.5%, 40.8%)
CIE-LABlab(32.74, 50.01, 31.06)
CIE-LCHlch(32.74, 58.87, 31.85°)
OKLaboklab(43.96% 0.1444 0.0681)
OKLCHoklch(43.96% 0.16 25.2)
XYZxyz(13.3809, 7.4192, 2.0236)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A1F #1A9792
analogous
#971A5E #971A1F #97541A
triadic
#971A1F #1F971A #1A1F97
tetradic
#971A1F #5E971A #1A9792 #541A97
square
#971A1F #5E971A #1A9792 #541A97
split-complementary
#971A1F #1A9754 #1A5E97
monochromatic
#2F080A #631114 #971A1F #CB232A #E04B51

Accessibility & contrast

On white

8.46
#971A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#971A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A1F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A1F#FFFFFF#000000##FFFFFF
##971A1F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1E
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#A7001E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #971a1f;
/* rgb */ color: rgb(151, 26, 31);
/* oklch */ color: oklch(44.0% 0.160 25.2);
Tailwind
colors: {
  custom: {
    50: '#be645b',
    500: '#971a1f',
    950: '#000000',
  },
}
SCSS
$custom: #971a1f;
$custom-light: #be645b;
$custom-dark: #000000;
JSON
{
  "hex": "#971a1f",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 357.6,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.15962,
    "h": 25.2
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#971A1F
secondary
#4BC2BD
accent
#EDE63A
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140604
muted
#827A79

Preview Lab

Preview with #971A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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