#972B1F#972B1F

#972B1F is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.5% C 0.146 H 30.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#972B1F
RGBrgb(151, 43, 31)
HSLhsl(6, 66%, 36%)
HSVhsv(6, 79%, 59%)
CMYKcmyk(0%, 71.5%, 79.5%, 40.8%)
CIE-LABlab(34.82, 44.23, 33.24)
CIE-LCHlch(34.82, 55.33, 36.93°)
OKLaboklab(45.5% 0.1262 0.0728)
OKLCHoklch(45.5% 0.146 30)
XYZxyz(13.8753, 8.4081, 2.1884)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972B1F #1F8B97
analogous
#971F4F #972B1F #97671F
triadic
#972B1F #1F972B #2B1F97
tetradic
#972B1F #4F971F #1F8B97 #671F97
square
#972B1F #4F971F #1F8B97 #671F97
split-complementary
#972B1F #1F9767 #1F4F97
monochromatic
#310E0A #641D15 #972B1F #CA3929 #DC6254

Accessibility & contrast

On white

7.83
#972B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#972B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972B1F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972B1F#FFFFFF#000000##FFFFFF
##972B1F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431D
Deuteranopia (green-blind)
#655B1B
Tritanopia (blue-blind)
#A70129
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972b1f;
/* rgb */ color: rgb(151, 43, 31);
/* oklch */ color: oklch(45.5% 0.146 30.0);
Tailwind
colors: {
  custom: {
    50: '#be6c5c',
    500: '#972b1f',
    950: '#000000',
  },
}
SCSS
$custom: #972b1f;
$custom-light: #be6c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#972b1f",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 31
  },
  "hsl": {
    "h": 6,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.14569,
    "h": 30
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#972B1F
secondary
#52B5BF
accent
#D8E93F
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #972B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#972B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva