#97231D#97231D

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

Color values

HEX#97231D
RGBrgb(151, 35, 29)
HSLhsl(3, 68%, 35%)
HSVhsv(3, 81%, 59%)
CMYKcmyk(0%, 76.8%, 80.8%, 40.8%)
CIE-LABlab(33.72, 47.15, 33.24)
CIE-LCHlch(33.72, 57.69, 35.19°)
OKLaboklab(44.67% 0.1349 0.0722)
OKLCHoklch(44.67% 0.153 28.1)
XYZxyz(13.5869, 7.8722, 1.9662)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97231D #1D9197
analogous
#971D54 #97231D #97601D
triadic
#97231D #1D9723 #231D97
tetradic
#97231D #54971D #1D9197 #601D97
square
#97231D #54971D #1D9197 #601D97
split-complementary
#97231D #1D9760 #1D5497
monochromatic
#300B09 #641713 #97231D #CA2F27 #DE5851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97231D#FFFFFF#000000##FFFFFF
##97231D1.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)
#473F1B
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#A70023
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #97231d;
/* rgb */ color: rgb(151, 35, 29);
/* oklch */ color: oklch(44.7% 0.153 28.1);
Tailwind
colors: {
  custom: {
    50: '#be685a',
    500: '#97231d',
    950: '#000000',
  },
}
SCSS
$custom: #97231d;
$custom-light: #be685a;
$custom-dark: #000000;
JSON
{
  "hex": "#97231d",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 2.951,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.15302,
    "h": 28.1
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#97231D
secondary
#4FBBC0
accent
#E2EB3D
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #97231D

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

Preview Lab → · Contrast checker → · Palette generator →

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