#972822#972822

#972822 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.148 H 27.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#972822
RGBrgb(151, 40, 34)
HSLhsl(3, 63%, 36%)
HSVhsv(3, 77%, 59%)
CMYKcmyk(0%, 73.5%, 77.5%, 40.8%)
CIE-LABlab(34.43, 45.52, 31.09)
CIE-LCHlch(34.43, 55.12, 34.33°)
OKLaboklab(45.22% 0.1309 0.069)
OKLCHoklch(45.22% 0.148 27.8)
XYZxyz(13.8116, 8.2145, 2.3714)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972822 #229197
analogous
#972257 #972822 #976322
triadic
#972822 #229728 #282297
tetradic
#972822 #579722 #229197 #632297
square
#972822 #579722 #229197 #632297
split-complementary
#972822 #229763 #225797
monochromatic
#330E0C #651B17 #972822 #C9352D #DA605A

Accessibility & contrast

On white

7.95
#972822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#972822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972822
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972822#FFFFFF#000000##FFFFFF
##9728221.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494220
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#A70028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972822;
/* rgb */ color: rgb(151, 40, 34);
/* oklch */ color: oklch(45.2% 0.148 27.8);
Tailwind
colors: {
  custom: {
    50: '#be6a5e',
    500: '#972822',
    950: '#000000',
  },
}
SCSS
$custom: #972822;
$custom-light: #be6a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#972822",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 3.077,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.14795,
    "h": 27.8
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#972822
secondary
#57B9BE
accent
#DEE642
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #972822

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

Preview Lab → · Contrast checker → · Palette generator →

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