#97291F#97291F

#97291F is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.3% C 0.148 H 29.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#97291F
RGBrgb(151, 41, 31)
HSLhsl(5, 66%, 36%)
HSVhsv(5, 79%, 59%)
CMYKcmyk(0%, 72.8%, 79.5%, 40.8%)
CIE-LABlab(34.53, 45.02, 32.94)
CIE-LCHlch(34.53, 55.78, 36.20°)
OKLaboklab(45.29% 0.1287 0.0722)
OKLCHoklch(45.29% 0.148 29.3)
XYZxyz(13.8044, 8.2662, 2.1647)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97291F #1F8D97
analogous
#971F51 #97291F #97651F
triadic
#97291F #1F9729 #291F97
tetradic
#97291F #51971F #1F8D97 #651F97
square
#97291F #51971F #1F8D97 #651F97
split-complementary
#97291F #1F9765 #1F5197
monochromatic
#310D0A #641B15 #97291F #CA3729 #DC6054

Accessibility & contrast

On white

7.92
#97291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#97291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97291F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97291F#FFFFFF#000000##FFFFFF
##97291F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#A70028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #97291f;
/* rgb */ color: rgb(151, 41, 31);
/* oklch */ color: oklch(45.3% 0.148 29.3);
Tailwind
colors: {
  custom: {
    50: '#be6b5b',
    500: '#97291f',
    950: '#000000',
  },
}
SCSS
$custom: #97291f;
$custom-light: #be6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#97291f",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.14752,
    "h": 29.3
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#97291F
secondary
#52B6BF
accent
#DBE93F
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #97291F

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

Preview Lab → · Contrast checker → · Palette generator →

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