#971B27#971B27

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

Color values

HEX#971B27
RGBrgb(151, 27, 39)
HSLhsl(354, 70%, 35%)
HSVhsv(354, 82%, 59%)
CMYKcmyk(0%, 82.1%, 74.2%, 40.8%)
CIE-LABlab(32.94, 50.05, 26.38)
CIE-LCHlch(32.94, 56.58, 27.79°)
OKLaboklab(44.14% 0.1464 0.06)
OKLCHoklch(44.14% 0.158 22.3)
XYZxyz(13.5222, 7.5118, 2.6570)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B27 #1B978B
analogous
#971B65 #971B27 #974D1B
triadic
#971B27 #27971B #1B2797
tetradic
#971B27 #65971B #1B978B #4D1B97
square
#971B27 #65971B #1B978B #4D1B97
split-complementary
#971B27 #1B974D #1B6597
monochromatic
#2F080C #63121A #971B27 #CB2434 #DF4D5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971B27#FFFFFF#000000##FFFFFF
##971B271.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)
#423D26
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#A70021
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #971b27;
/* rgb */ color: rgb(151, 27, 39);
/* oklch */ color: oklch(44.1% 0.158 22.3);
Tailwind
colors: {
  custom: {
    50: '#be6561',
    500: '#971b27',
    950: '#000000',
  },
}
SCSS
$custom: #971b27;
$custom-light: #be6561;
$custom-dark: #000000;
JSON
{
  "hex": "#971b27",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 354.194,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.15817,
    "h": 22.3
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#971B27
secondary
#4CC1B6
accent
#ECDB3B
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140605
muted
#827A79

Preview Lab

Preview with #971B27

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

Preview Lab → · Contrast checker → · Palette generator →

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