#972231#972231

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

Color values

HEX#972231
RGBrgb(151, 34, 49)
HSLhsl(352, 63%, 36%)
HSVhsv(352, 77%, 59%)
CMYKcmyk(0%, 77.5%, 67.5%, 40.8%)
CIE-LABlab(33.87, 48.40, 21.16)
CIE-LCHlch(33.87, 52.82, 23.62°)
OKLaboklab(44.88% 0.1434 0.0501)
OKLCHoklch(44.88% 0.152 19.3)
XYZxyz(13.8904, 7.9472, 3.7077)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972231 #229788
analogous
#97226C #972231 #974E22
triadic
#972231 #319722 #223197
tetradic
#972231 #6C9722 #229788 #4E2297
square
#972231 #6C9722 #229788 #4E2297
split-complementary
#972231 #22974E #226C97
monochromatic
#330C11 #651721 #972231 #C92D41 #DA5A6A

Accessibility & contrast

On white

8.11
#972231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#972231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972231
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972231#FFFFFF#000000##FFFFFF
##9722311.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444031
Deuteranopia (green-blind)
#61592E
Tritanopia (blue-blind)
#A60029
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #972231;
/* rgb */ color: rgb(151, 34, 49);
/* oklch */ color: oklch(44.9% 0.152 19.3);
Tailwind
colors: {
  custom: {
    50: '#bd6869',
    500: '#972231',
    950: '#000000',
  },
}
SCSS
$custom: #972231;
$custom-light: #bd6869;
$custom-dark: #000000;
JSON
{
  "hex": "#972231",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 352.308,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.15186,
    "h": 19.3
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#972231
secondary
#57BEB1
accent
#E6D142
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972231

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

Preview Lab → · Contrast checker → · Palette generator →

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