#972317#972317

#972317 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.6% C 0.154 H 30.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#972317
RGBrgb(151, 35, 23)
HSLhsl(6, 74%, 34%)
HSVhsv(6, 85%, 59%)
CMYKcmyk(0%, 76.8%, 84.8%, 40.8%)
CIE-LABlab(33.66, 46.96, 36.50)
CIE-LCHlch(33.66, 59.47, 37.86°)
OKLaboklab(44.61% 0.1331 0.0771)
OKLCHoklch(44.61% 0.154 30.1)
XYZxyz(13.5198, 7.8454, 1.6129)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972317 #178B97
analogous
#97174B #972317 #976317
triadic
#972317 #179723 #231797
tetradic
#972317 #4B9717 #178B97 #631797
square
#972317 #4B9717 #178B97 #631797
split-complementary
#972317 #179763 #174B97
monochromatic
#2D0A07 #62170F #972317 #CC2F1F #E35446

Accessibility & contrast

On white

8.18
#972317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#972317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972317
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972317#FFFFFF#000000##FFFFFF
##9723171.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#645810
Tritanopia (blue-blind)
#A70022
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #972317;
/* rgb */ color: rgb(151, 35, 23);
/* oklch */ color: oklch(44.6% 0.154 30.1);
Tailwind
colors: {
  custom: {
    50: '#bf6856',
    500: '#972317',
    950: '#000000',
  },
}
SCSS
$custom: #972317;
$custom-light: #bf6856;
$custom-dark: #000000;
JSON
{
  "hex": "#972317",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 5.625,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.15386,
    "h": 30.1
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#972317
secondary
#46B8C4
accent
#DFF038
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #972317

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

Preview Lab → · Contrast checker → · Palette generator →

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