#972031#972031

#972031 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.7% C 0.154 H 18.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#972031
RGBrgb(151, 32, 49)
HSLhsl(351, 65%, 36%)
HSVhsv(351, 79%, 59%)
CMYKcmyk(0%, 78.8%, 67.5%, 40.8%)
CIE-LABlab(33.64, 49.05, 20.87)
CIE-LCHlch(33.64, 53.31, 23.05°)
OKLaboklab(44.71% 0.1455 0.0494)
OKLCHoklch(44.71% 0.154 18.8)
XYZxyz(13.8349, 7.8362, 3.6892)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972031 #209786
analogous
#97206C #972031 #974B20
triadic
#972031 #319720 #203197
tetradic
#972031 #6C9720 #209786 #4B2097
square
#972031 #6C9720 #209786 #4B2097
split-complementary
#972031 #20974B #206C97
monochromatic
#320B10 #641521 #972031 #C92B41 #DB5669

Accessibility & contrast

On white

8.18
#972031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972031
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972031#FFFFFF#000000##FFFFFF
##9720311.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F31
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#A60028
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #972031;
/* rgb */ color: rgb(151, 32, 49);
/* oklch */ color: oklch(44.7% 0.154 18.8);
Tailwind
colors: {
  custom: {
    50: '#bd6768',
    500: '#972031',
    950: '#000000',
  },
}
SCSS
$custom: #972031;
$custom-light: #bd6768;
$custom-dark: #000000;
JSON
{
  "hex": "#972031",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 49
  },
  "hsl": {
    "h": 351.429,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44707,
    "c": 0.15363,
    "h": 18.8
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#972031
secondary
#54BFB0
accent
#E8D040
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972031

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

Preview Lab → · Contrast checker → · Palette generator →

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