#971F2F#971F2F

#971F2F is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.155 H 19.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#971F2F
RGBrgb(151, 31, 47)
HSLhsl(352, 66%, 36%)
HSVhsv(352, 79%, 59%)
CMYKcmyk(0%, 79.5%, 68.9%, 40.8%)
CIE-LABlab(33.49, 49.26, 21.96)
CIE-LCHlch(33.49, 53.93, 24.03°)
OKLaboklab(44.59% 0.1457 0.0516)
OKLCHoklch(44.59% 0.155 19.5)
XYZxyz(13.7671, 7.7666, 3.4630)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F2F #1F9787
analogous
#971F6B #971F2F #974B1F
triadic
#971F2F #2F971F #1F2F97
tetradic
#971F2F #6B971F #1F9787 #4B1F97
square
#971F2F #6B971F #1F9787 #4B1F97
split-complementary
#971F2F #1F974B #1F6B97
monochromatic
#310A0F #64151F #971F2F #CA293F #DC5466

Accessibility & contrast

On white

8.23
#971F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#971F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F2F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F2F#FFFFFF#000000##FFFFFF
##971F2F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2F
Deuteranopia (green-blind)
#61582B
Tritanopia (blue-blind)
#A60026
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971f2f;
/* rgb */ color: rgb(151, 31, 47);
/* oklch */ color: oklch(44.6% 0.155 19.5);
Tailwind
colors: {
  custom: {
    50: '#bd6767',
    500: '#971f2f',
    950: '#000000',
  },
}
SCSS
$custom: #971f2f;
$custom-light: #bd6767;
$custom-dark: #000000;
JSON
{
  "hex": "#971f2f",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 352,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.15454,
    "h": 19.5
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#971F2F
secondary
#52BFB1
accent
#E9D23F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #971F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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