#972017#972017

#972017 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.3% C 0.156 H 29.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#972017
RGBrgb(151, 32, 23)
HSLhsl(4, 74%, 34%)
HSVhsv(4, 85%, 59%)
CMYKcmyk(0%, 78.8%, 84.8%, 40.8%)
CIE-LABlab(33.30, 47.96, 36.17)
CIE-LCHlch(33.30, 60.07, 37.02°)
OKLaboklab(44.35% 0.1363 0.0764)
OKLCHoklch(44.35% 0.156 29.3)
XYZxyz(13.4353, 7.6764, 1.5847)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972017 #178E97
analogous
#97174E #972017 #976017
triadic
#972017 #179720 #201797
tetradic
#972017 #4E9717 #178E97 #601797
square
#972017 #4E9717 #178E97 #601797
split-complementary
#972017 #179760 #174E97
monochromatic
#2D0907 #62150F #972017 #CC2B1F #E35146

Accessibility & contrast

On white

8.28
#972017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#972017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972017
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972017#FFFFFF#000000##FFFFFF
##9720171.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#635810
Tritanopia (blue-blind)
#A7001F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #972017;
/* rgb */ color: rgb(151, 32, 23);
/* oklch */ color: oklch(44.3% 0.156 29.3);
Tailwind
colors: {
  custom: {
    50: '#bf6756',
    500: '#972017',
    950: '#000000',
  },
}
SCSS
$custom: #972017;
$custom-light: #bf6756;
$custom-dark: #000000;
JSON
{
  "hex": "#972017",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 4.219,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.15622,
    "h": 29.3
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#972017
secondary
#46BBC4
accent
#E3F038
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140603
muted
#827A78

Preview Lab

Preview with #972017

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

Preview Lab → · Contrast checker → · Palette generator →

#972017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva