#97231B#97231B

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

Color values

HEX#97231B
RGBrgb(151, 35, 27)
HSLhsl(4, 70%, 35%)
HSVhsv(4, 82%, 59%)
CMYKcmyk(0%, 76.8%, 82.1%, 40.8%)
CIE-LABlab(33.70, 47.08, 34.36)
CIE-LCHlch(33.70, 58.28, 36.12°)
OKLaboklab(44.65% 0.1343 0.0739)
OKLCHoklch(44.65% 0.153 28.8)
XYZxyz(13.5630, 7.8627, 1.8402)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97231B #1B8F97
analogous
#971B51 #97231B #97611B
triadic
#97231B #1B9723 #231B97
tetradic
#97231B #51971B #1B8F97 #611B97
square
#97231B #51971B #1B8F97 #611B97
split-complementary
#97231B #1B9761 #1B5197
monochromatic
#2F0B08 #631712 #97231B #CB2F24 #DF574D

Accessibility & contrast

On white

8.16
#97231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97231B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97231B#FFFFFF#000000##FFFFFF
##97231B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#635815
Tritanopia (blue-blind)
#A70023
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #97231b;
/* rgb */ color: rgb(151, 35, 27);
/* oklch */ color: oklch(44.7% 0.153 28.8);
Tailwind
colors: {
  custom: {
    50: '#be6858',
    500: '#97231b',
    950: '#000000',
  },
}
SCSS
$custom: #97231b;
$custom-light: #be6858;
$custom-dark: #000000;
JSON
{
  "hex": "#97231b",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.871,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44652,
    "c": 0.1533,
    "h": 28.8
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#97231B
secondary
#4CBAC1
accent
#E1EC3B
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #97231B

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

Preview Lab → · Contrast checker → · Palette generator →

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