#972831#972831

#972831 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.146 H 20.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#972831
RGBrgb(151, 40, 49)
HSLhsl(355, 58%, 37%)
HSVhsv(355, 74%, 59%)
CMYKcmyk(0%, 73.5%, 67.5%, 40.8%)
CIE-LABlab(34.64, 46.26, 22.13)
CIE-LCHlch(34.64, 51.28, 25.56°)
OKLaboklab(45.45% 0.1365 0.0523)
OKLCHoklch(45.45% 0.146 20.9)
XYZxyz(14.0772, 8.3207, 3.7699)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972831 #28978E
analogous
#972869 #972831 #975628
triadic
#972831 #319728 #283197
tetradic
#972831 #699728 #28978E #562897
square
#972831 #699728 #28978E #562897
split-complementary
#972831 #289756 #286997
monochromatic
#360E12 #671B21 #972831 #C73541 #D6646D

Accessibility & contrast

On white

7.88
#972831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#972831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972831
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972831#FFFFFF#000000##FFFFFF
##9728311.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474230
Deuteranopia (green-blind)
#635A2E
Tritanopia (blue-blind)
#A6002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972831;
/* rgb */ color: rgb(151, 40, 49);
/* oklch */ color: oklch(45.5% 0.146 20.9);
Tailwind
colors: {
  custom: {
    50: '#bd6b69',
    500: '#972831',
    950: '#000000',
  },
}
SCSS
$custom: #972831;
$custom-light: #bd6b69;
$custom-dark: #000000;
JSON
{
  "hex": "#972831",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355.135,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.14619,
    "h": 20.9
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#972831
secondary
#5FBCB4
accent
#E1D546
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #972831

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

Preview Lab → · Contrast checker → · Palette generator →

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