#972837#972837

#972837 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.146 H 17.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#972837
RGBrgb(151, 40, 55)
HSLhsl(352, 58%, 37%)
HSVhsv(352, 74%, 59%)
CMYKcmyk(0%, 73.5%, 63.6%, 40.8%)
CIE-LABlab(34.75, 46.63, 18.45)
CIE-LCHlch(34.75, 50.15, 21.59°)
OKLaboklab(45.57% 0.139 0.0446)
OKLCHoklch(45.57% 0.146 17.8)
XYZxyz(14.2123, 8.3748, 4.4818)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972837 #289788
analogous
#97286E #972837 #975128
triadic
#972837 #379728 #283797
tetradic
#972837 #6E9728 #289788 #512897
square
#972837 #6E9728 #289788 #512897
split-complementary
#972837 #289751 #286E97
monochromatic
#360E14 #671B25 #972837 #C73549 #D66473

Accessibility & contrast

On white

7.85
#972837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#972837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972837
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972837#FFFFFF#000000##FFFFFF
##9728371.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464337
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#A6042E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972837;
/* rgb */ color: rgb(151, 40, 55);
/* oklch */ color: oklch(45.6% 0.146 17.8);
Tailwind
colors: {
  custom: {
    50: '#bc6b6d',
    500: '#972837',
    950: '#000000',
  },
}
SCSS
$custom: #972837;
$custom-light: #bc6b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#972837",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 351.892,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45568,
    "c": 0.14594,
    "h": 17.8
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#972837
secondary
#5FBCAF
accent
#E1CC46
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #972837

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

Preview Lab → · Contrast checker → · Palette generator →

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