#971F28#971F28

#971F28 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.5% C 0.155 H 22.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#971F28
RGBrgb(151, 31, 40)
HSLhsl(356, 66%, 36%)
HSVhsv(356, 79%, 59%)
CMYKcmyk(0%, 79.5%, 73.5%, 40.8%)
CIE-LABlab(33.38, 48.91, 26.26)
CIE-LCHlch(33.38, 55.51, 28.23°)
OKLaboklab(44.47% 0.1429 0.0599)
OKLCHoklch(44.47% 0.155 22.7)
XYZxyz(13.6371, 7.7146, 2.7781)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F28 #1F978E
analogous
#971F64 #971F28 #97521F
triadic
#971F28 #28971F #1F2897
tetradic
#971F28 #64971F #1F978E #521F97
square
#971F28 #64971F #1F978E #521F97
split-complementary
#971F28 #1F9752 #1F6497
monochromatic
#310A0D #64151B #971F28 #CA2935 #DC545F

Accessibility & contrast

On white

8.26
#971F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#971F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F28
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F28#FFFFFF#000000##FFFFFF
##971F281.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E27
Deuteranopia (green-blind)
#615824
Tritanopia (blue-blind)
#A60024
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971f28;
/* rgb */ color: rgb(151, 31, 40);
/* oklch */ color: oklch(44.5% 0.155 22.7);
Tailwind
colors: {
  custom: {
    50: '#be6762',
    500: '#971f28',
    950: '#000000',
  },
}
SCSS
$custom: #971f28;
$custom-light: #be6762;
$custom-dark: #000000;
JSON
{
  "hex": "#971f28",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 355.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.15499,
    "h": 22.7
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#971F28
secondary
#52BFB7
accent
#E9DC3F
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140605
muted
#827A79

Preview Lab

Preview with #971F28

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

Preview Lab → · Contrast checker → · Palette generator →

#971F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva