#972217#972217

#972217 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.5% C 0.155 H 29.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#972217
RGBrgb(151, 34, 23)
HSLhsl(5, 74%, 34%)
HSVhsv(5, 85%, 59%)
CMYKcmyk(0%, 77.5%, 84.8%, 40.8%)
CIE-LABlab(33.54, 47.30, 36.39)
CIE-LCHlch(33.54, 59.68, 37.57°)
OKLaboklab(44.52% 0.1342 0.0769)
OKLCHoklch(44.52% 0.155 29.8)
XYZxyz(13.4908, 7.7874, 1.6032)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972217 #178C97
analogous
#97174C #972217 #976217
triadic
#972217 #179722 #221797
tetradic
#972217 #4C9717 #178C97 #621797
square
#972217 #4C9717 #178C97 #621797
split-complementary
#972217 #179762 #174C97
monochromatic
#2D0A07 #62160F #972217 #CC2E1F #E35346

Accessibility & contrast

On white

8.21
#972217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#972217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972217
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972217#FFFFFF#000000##FFFFFF
##9722171.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E14
Deuteranopia (green-blind)
#635810
Tritanopia (blue-blind)
#A70021
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #972217;
/* rgb */ color: rgb(151, 34, 23);
/* oklch */ color: oklch(44.5% 0.155 29.8);
Tailwind
colors: {
  custom: {
    50: '#bf6756',
    500: '#972217',
    950: '#000000',
  },
}
SCSS
$custom: #972217;
$custom-light: #bf6756;
$custom-dark: #000000;
JSON
{
  "hex": "#972217",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.156,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.15466,
    "h": 29.8
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#972217
secondary
#46B9C4
accent
#E0F038
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #972217

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

Preview Lab → · Contrast checker → · Palette generator →

#972217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva