#97371F#97371F

#97371F is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.0% C 0.134 H 35.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#97371F
RGBrgb(151, 55, 31)
HSLhsl(12, 66%, 36%)
HSVhsv(12, 79%, 59%)
CMYKcmyk(0%, 63.6%, 79.5%, 40.8%)
CIE-LABlab(36.77, 38.97, 35.25)
CIE-LCHlch(36.77, 52.54, 42.13°)
OKLaboklab(46.97% 0.1098 0.0772)
OKLCHoklch(46.97% 0.134 35.1)
XYZxyz(14.3776, 9.4127, 2.3558)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97371F #1F7F97
analogous
#971F43 #97371F #97731F
triadic
#97371F #1F9737 #371F97
tetradic
#97371F #43971F #1F7F97 #731F97
square
#97371F #43971F #1F7F97 #731F97
split-complementary
#97371F #1F9773 #1F4397
monochromatic
#31120A #642515 #97371F #CA4929 #DC7054

Accessibility & contrast

On white

7.29
#97371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#97371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97371F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97371F#FFFFFF#000000##FFFFFF
##97371F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#6A5E1B
Tritanopia (blue-blind)
#A61E32
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97371f;
/* rgb */ color: rgb(151, 55, 31);
/* oklch */ color: oklch(47.0% 0.134 35.1);
Tailwind
colors: {
  custom: {
    50: '#bd725c',
    500: '#97371f',
    950: '#000000',
  },
}
SCSS
$custom: #97371f;
$custom-light: #bd725c;
$custom-dark: #000000;
JSON
{
  "hex": "#97371f",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 12,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.13424,
    "h": 35.1
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#97371F
secondary
#52AABF
accent
#C7E93F
background
#FCF7F5
surface
#F8EDE9
border
#D1C8C5
text
#130804
muted
#827B79

Preview Lab

Preview with #97371F

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

Preview Lab → · Contrast checker → · Palette generator →

#97371F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva