#971B28#971B28

#971B28 is a dark, vivid red. Relative luminance 0.075; OKLCH L 44.2% C 0.158 H 21.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#971B28
RGBrgb(151, 27, 40)
HSLhsl(354, 70%, 35%)
HSVhsv(354, 82%, 59%)
CMYKcmyk(0%, 82.1%, 73.5%, 40.8%)
CIE-LABlab(32.96, 50.10, 25.77)
CIE-LCHlch(32.96, 56.33, 27.22°)
OKLaboklab(44.16% 0.1467 0.0588)
OKLCHoklch(44.16% 0.158 21.8)
XYZxyz(13.5390, 7.5185, 2.7454)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B28 #1B978A
analogous
#971B66 #971B28 #974C1B
triadic
#971B28 #28971B #1B2897
tetradic
#971B28 #66971B #1B978A #4C1B97
square
#971B28 #66971B #1B978A #4C1B97
split-complementary
#971B28 #1B974C #1B6697
monochromatic
#2F080C #63121A #971B28 #CB2436 #DF4D5D

Accessibility & contrast

On white

8.39
#971B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#971B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B28
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B28#FFFFFF#000000##FFFFFF
##971B281.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#A70021
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #971b28;
/* rgb */ color: rgb(151, 27, 40);
/* oklch */ color: oklch(44.2% 0.158 21.8);
Tailwind
colors: {
  custom: {
    50: '#be6562',
    500: '#971b28',
    950: '#000000',
  },
}
SCSS
$custom: #971b28;
$custom-light: #be6562;
$custom-dark: #000000;
JSON
{
  "hex": "#971b28",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 353.71,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44156,
    "c": 0.15809,
    "h": 21.8
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#971B28
secondary
#4CC1B5
accent
#ECDA3B
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140605
muted
#827A79

Preview Lab

Preview with #971B28

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

Preview Lab → · Contrast checker → · Palette generator →

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