#97311F#97311F

#97311F is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.2% C 0.140 H 32.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#97311F
RGBrgb(151, 49, 31)
HSLhsl(9, 66%, 36%)
HSVhsv(9, 79%, 59%)
CMYKcmyk(0%, 67.5%, 79.5%, 40.8%)
CIE-LABlab(35.75, 41.70, 34.20)
CIE-LCHlch(35.75, 53.93, 39.36°)
OKLaboklab(46.2% 0.1183 0.0749)
OKLCHoklch(46.2% 0.14 32.3)
XYZxyz(14.1097, 8.8769, 2.2665)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97311F #1F8597
analogous
#971F49 #97311F #976D1F
triadic
#97311F #1F9731 #311F97
tetradic
#97311F #49971F #1F8597 #6D1F97
square
#97311F #49971F #1F8597 #6D1F97
split-complementary
#97311F #1F976D #1F4997
monochromatic
#31100A #642115 #97311F #CA4129 #DC6954

Accessibility & contrast

On white

7.57
#97311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#97311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97311F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97311F#FFFFFF#000000##FFFFFF
##97311F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461C
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#A6132E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97311f;
/* rgb */ color: rgb(151, 49, 31);
/* oklch */ color: oklch(46.2% 0.140 32.3);
Tailwind
colors: {
  custom: {
    50: '#bd6f5c',
    500: '#97311f',
    950: '#000000',
  },
}
SCSS
$custom: #97311f;
$custom-light: #bd6f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#97311f",
  "rgb": {
    "r": 151,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 9,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.14004,
    "h": 32.3
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#97311F
secondary
#52AFBF
accent
#CFE93F
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#140804
muted
#827B79

Preview Lab

Preview with #97311F

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

Preview Lab → · Contrast checker → · Palette generator →

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