#971F27#971F27

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

Color values

HEX#971F27
RGBrgb(151, 31, 39)
HSLhsl(356, 66%, 36%)
HSVhsv(356, 79%, 59%)
CMYKcmyk(0%, 79.5%, 74.2%, 40.8%)
CIE-LABlab(33.37, 48.86, 26.87)
CIE-LCHlch(33.37, 55.76, 28.81°)
OKLaboklab(44.45% 0.1426 0.061)
OKLCHoklch(44.45% 0.155 23.2)
XYZxyz(13.6203, 7.7079, 2.6897)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F27 #1F978F
analogous
#971F63 #971F27 #97531F
triadic
#971F27 #27971F #1F2797
tetradic
#971F27 #63971F #1F978F #531F97
square
#971F27 #63971F #1F978F #531F97
split-complementary
#971F27 #1F9753 #1F6397
monochromatic
#310A0D #64151A #971F27 #CA2934 #DC545D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971F27#FFFFFF#000000##FFFFFF
##971F271.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)
#443E26
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#A60023
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #971f27;
/* rgb */ color: rgb(151, 31, 39);
/* oklch */ color: oklch(44.5% 0.155 23.2);
Tailwind
colors: {
  custom: {
    50: '#be6761',
    500: '#971f27',
    950: '#000000',
  },
}
SCSS
$custom: #971f27;
$custom-light: #be6761;
$custom-dark: #000000;
JSON
{
  "hex": "#971f27",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 356,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.15508,
    "h": 23.2
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#971F27
secondary
#52BFB8
accent
#E9DE3F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140605
muted
#827A79

Preview Lab

Preview with #971F27

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

Preview Lab → · Contrast checker → · Palette generator →

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