#97231A#97231A

#97231A is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.6% C 0.153 H 29.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#97231A
RGBrgb(151, 35, 26)
HSLhsl(4, 71%, 35%)
HSVhsv(4, 83%, 59%)
CMYKcmyk(0%, 76.8%, 82.8%, 40.8%)
CIE-LABlab(33.69, 47.05, 34.90)
CIE-LCHlch(33.69, 58.58, 36.57°)
OKLaboklab(44.64% 0.134 0.0748)
OKLCHoklch(44.64% 0.153 29.2)
XYZxyz(13.5516, 7.8581, 1.7803)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97231A #1A8E97
analogous
#971A50 #97231A #97621A
triadic
#97231A #1A9723 #231A97
tetradic
#97231A #50971A #1A8E97 #621A97
square
#97231A #50971A #1A8E97 #621A97
split-complementary
#97231A #1A9762 #1A5097
monochromatic
#2F0B08 #631711 #97231A #CB2F23 #E0564B

Accessibility & contrast

On white

8.17
#97231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#97231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97231A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97231A#FFFFFF#000000##FFFFFF
##97231A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97231a;
/* rgb */ color: rgb(151, 35, 26);
/* oklch */ color: oklch(44.6% 0.153 29.2);
Tailwind
colors: {
  custom: {
    50: '#be6858',
    500: '#97231a',
    950: '#000000',
  },
}
SCSS
$custom: #97231a;
$custom-light: #be6858;
$custom-dark: #000000;
JSON
{
  "hex": "#97231a",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 4.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.15344,
    "h": 29.2
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#97231A
secondary
#4BB9C2
accent
#E1ED3A
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #97231A

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

Preview Lab → · Contrast checker → · Palette generator →

#97231A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva