#971F38#971F38

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

Color values

HEX#971F38
RGBrgb(151, 31, 56)
HSLhsl(348, 66%, 36%)
HSVhsv(348, 79%, 59%)
CMYKcmyk(0%, 79.5%, 62.9%, 40.8%)
CIE-LABlab(33.66, 49.80, 16.38)
CIE-LCHlch(33.66, 52.42, 18.20°)
OKLaboklab(44.77% 0.1493 0.0399)
OKLCHoklch(44.77% 0.155 14.9)
XYZxyz(13.9678, 7.8469, 4.5197)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F38 #1F977E
analogous
#971F74 #971F38 #97421F
triadic
#971F38 #38971F #1F3897
tetradic
#971F38 #74971F #1F977E #421F97
square
#971F38 #74971F #1F977E #421F97
split-complementary
#971F38 #1F9742 #1F7497
monochromatic
#310A12 #641525 #971F38 #CA294B #DC5471

Accessibility & contrast

On white

8.17
#971F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#971F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F38
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F38#FFFFFF#000000##FFFFFF
##971F381.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F38
Deuteranopia (green-blind)
#605835
Tritanopia (blue-blind)
#A6002A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971f38;
/* rgb */ color: rgb(151, 31, 56);
/* oklch */ color: oklch(44.8% 0.155 14.9);
Tailwind
colors: {
  custom: {
    50: '#bc676e',
    500: '#971f38',
    950: '#000000',
  },
}
SCSS
$custom: #971f38;
$custom-light: #bc676e;
$custom-dark: #000000;
JSON
{
  "hex": "#971f38",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 347.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.15456,
    "h": 14.9
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#971F38
secondary
#52BFA9
accent
#E9C53F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #971F38

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

Preview Lab → · Contrast checker → · Palette generator →

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