#972D1F#972D1F

#972D1F is a mid, vivid red. Relative luminance 0.086; OKLCH L 45.7% C 0.144 H 30.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#972D1F
RGBrgb(151, 45, 31)
HSLhsl(7, 66%, 36%)
HSVhsv(7, 79%, 59%)
CMYKcmyk(0%, 70.2%, 79.5%, 40.8%)
CIE-LABlab(35.12, 43.41, 33.55)
CIE-LCHlch(35.12, 54.86, 37.70°)
OKLaboklab(45.73% 0.1236 0.0735)
OKLCHoklch(45.73% 0.144 30.7)
XYZxyz(13.9498, 8.5571, 2.2132)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972D1F #1F8997
analogous
#971F4D #972D1F #97691F
triadic
#972D1F #1F972D #2D1F97
tetradic
#972D1F #4D971F #1F8997 #691F97
square
#972D1F #4D971F #1F8997 #691F97
split-complementary
#972D1F #1F9769 #1F4D97
monochromatic
#310F0A #641E15 #972D1F #CA3C29 #DC6454

Accessibility & contrast

On white

7.75
#972D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#972D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972D1F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972D1F#FFFFFF#000000##FFFFFF
##972D1F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441D
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#A7072B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972d1f;
/* rgb */ color: rgb(151, 45, 31);
/* oklch */ color: oklch(45.7% 0.144 30.7);
Tailwind
colors: {
  custom: {
    50: '#be6d5c',
    500: '#972d1f',
    950: '#000000',
  },
}
SCSS
$custom: #972d1f;
$custom-light: #be6d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#972d1f",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 7,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.14384,
    "h": 30.7
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#972D1F
secondary
#52B3BF
accent
#D5E93F
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #972D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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