#972227#972227

#972227 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.7% C 0.153 H 23.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#972227
RGBrgb(151, 34, 39)
HSLhsl(357, 63%, 36%)
HSVhsv(357, 77%, 59%)
CMYKcmyk(0%, 77.5%, 74.2%, 40.8%)
CIE-LABlab(33.71, 47.88, 27.27)
CIE-LCHlch(33.71, 55.11, 29.66°)
OKLaboklab(44.71% 0.1395 0.0619)
OKLCHoklch(44.71% 0.153 23.9)
XYZxyz(13.7023, 7.8720, 2.7170)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972227 #229792
analogous
#972262 #972227 #975822
triadic
#972227 #279722 #222797
tetradic
#972227 #629722 #229792 #582297
square
#972227 #629722 #229792 #582297
split-complementary
#972227 #229758 #226297
monochromatic
#330C0D #65171A #972227 #C92D34 #DA5A5F

Accessibility & contrast

On white

8.16
#972227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#972227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972227
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972227#FFFFFF#000000##FFFFFF
##9722271.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#A60025
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #972227;
/* rgb */ color: rgb(151, 34, 39);
/* oklch */ color: oklch(44.7% 0.153 23.9);
Tailwind
colors: {
  custom: {
    50: '#be6861',
    500: '#972227',
    950: '#000000',
  },
}
SCSS
$custom: #972227;
$custom-light: #be6861;
$custom-dark: #000000;
JSON
{
  "hex": "#972227",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.436,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44712,
    "c": 0.1526,
    "h": 23.9
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#972227
secondary
#57BEBA
accent
#E6DF42
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #972227

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

Preview Lab → · Contrast checker → · Palette generator →

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