#972828#972828

#972828 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.3% C 0.147 H 25.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#972828
RGBrgb(151, 40, 40)
HSLhsl(0, 58%, 37%)
HSVhsv(0, 74%, 59%)
CMYKcmyk(0%, 73.5%, 73.5%, 40.8%)
CIE-LABlab(34.50, 45.78, 27.57)
CIE-LCHlch(34.50, 53.44, 31.06°)
OKLaboklab(45.3% 0.133 0.0628)
OKLCHoklch(45.3% 0.147 25.3)
XYZxyz(13.9059, 8.2522, 2.8677)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972828 #289797
analogous
#972860 #972828 #976028
triadic
#972828 #289728 #282897
tetradic
#972828 #609728 #289797 #602897
square
#972828 #609728 #289797 #602897
split-complementary
#972828 #289760 #286097
monochromatic
#360E0E #671B1B #972828 #C73535 #D66464

Accessibility & contrast

On white

7.92
#972828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#972828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972828
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972828#FFFFFF#000000##FFFFFF
##9728281.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484227
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#A60029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #972828;
/* rgb */ color: rgb(151, 40, 40);
/* oklch */ color: oklch(45.3% 0.147 25.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a62',
    500: '#972828',
    950: '#000000',
  },
}
SCSS
$custom: #972828;
$custom-light: #bd6a62;
$custom-dark: #000000;
JSON
{
  "hex": "#972828",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.1471,
    "h": 25.3
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#972828
secondary
#5FBCBC
accent
#E1E146
background
#FCF6F5
surface
#F8ECEA
border
#D1C7C6
text
#130705
muted
#827A79

Preview Lab

Preview with #972828

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

Preview Lab → · Contrast checker → · Palette generator →

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