#97221F#97221F

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

Color values

HEX#97221F
RGBrgb(151, 34, 31)
HSLhsl(2, 66%, 36%)
HSVhsv(2, 79%, 59%)
CMYKcmyk(0%, 77.5%, 79.5%, 40.8%)
CIE-LABlab(33.61, 47.56, 31.98)
CIE-LCHlch(33.61, 57.31, 33.92°)
OKLaboklab(44.61% 0.1366 0.0701)
OKLCHoklch(44.61% 0.154 27.2)
XYZxyz(13.5835, 7.8244, 2.0911)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97221F #1F9497
analogous
#971F58 #97221F #975E1F
triadic
#97221F #1F9722 #221F97
tetradic
#97221F #58971F #1F9497 #5E1F97
square
#97221F #58971F #1F9497 #5E1F97
split-complementary
#97221F #1F975E #1F5897
monochromatic
#310B0A #641715 #97221F #CA2D29 #DC5854

Accessibility & contrast

On white

8.19
#97221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#97221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97221F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97221F#FFFFFF#000000##FFFFFF
##97221F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#A70023
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #97221f;
/* rgb */ color: rgb(151, 34, 31);
/* oklch */ color: oklch(44.6% 0.154 27.2);
Tailwind
colors: {
  custom: {
    50: '#be685b',
    500: '#97221f',
    950: '#000000',
  },
}
SCSS
$custom: #97221f;
$custom-light: #be685b;
$custom-dark: #000000;
JSON
{
  "hex": "#97221f",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44605,
    "c": 0.15356,
    "h": 27.2
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#97221F
secondary
#52BDBF
accent
#E5E93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #97221F

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

Preview Lab → · Contrast checker → · Palette generator →

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