#972228#972228

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

Color values

HEX#972228
RGBrgb(151, 34, 40)
HSLhsl(357, 63%, 36%)
HSVhsv(357, 77%, 59%)
CMYKcmyk(0%, 77.5%, 73.5%, 40.8%)
CIE-LABlab(33.73, 47.93, 26.67)
CIE-LCHlch(33.73, 54.85, 29.09°)
OKLaboklab(44.73% 0.1398 0.0608)
OKLCHoklch(44.73% 0.152 23.5)
XYZxyz(13.7191, 7.8787, 2.8054)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972228 #229791
analogous
#972263 #972228 #975722
triadic
#972228 #289722 #222897
tetradic
#972228 #639722 #229791 #572297
square
#972228 #639722 #229791 #572297
split-complementary
#972228 #229757 #226397
monochromatic
#330C0E #65171B #972228 #C92D35 #DA5A60

Accessibility & contrast

On white

8.15
#972228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#972228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972228
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972228#FFFFFF#000000##FFFFFF
##9722281.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#A60026
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #972228;
/* rgb */ color: rgb(151, 34, 40);
/* oklch */ color: oklch(44.7% 0.152 23.5);
Tailwind
colors: {
  custom: {
    50: '#be6862',
    500: '#972228',
    950: '#000000',
  },
}
SCSS
$custom: #972228;
$custom-light: #be6862;
$custom-dark: #000000;
JSON
{
  "hex": "#972228",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.923,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.15249,
    "h": 23.5
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

primary
#972228
secondary
#57BEB9
accent
#E6DE42
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #972228

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

Preview Lab → · Contrast checker → · Palette generator →

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