#97231E#97231E

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

Color values

HEX#97231E
RGBrgb(151, 35, 30)
HSLhsl(2, 67%, 35%)
HSVhsv(2, 80%, 59%)
CMYKcmyk(0%, 76.8%, 80.1%, 40.8%)
CIE-LABlab(33.73, 47.18, 32.68)
CIE-LCHlch(33.73, 57.39, 34.71°)
OKLaboklab(44.69% 0.1352 0.0713)
OKLCHoklch(44.69% 0.153 27.8)
XYZxyz(13.5995, 7.8773, 2.0324)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97231E #1E9297
analogous
#971E56 #97231E #975F1E
triadic
#97231E #1E9723 #231E97
tetradic
#97231E #56971E #1E9297 #5F1E97
square
#97231E #56971E #1E9297 #5F1E97
split-complementary
#97231E #1E975F #1E5697
monochromatic
#310B0A #641714 #97231E #CA2F28 #DD5853

Accessibility & contrast

On white

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

On black

2.58
#97231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##97231E#FFFFFF#000000##FFFFFF
##97231E1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97231e;
/* rgb */ color: rgb(151, 35, 30);
/* oklch */ color: oklch(44.7% 0.153 27.8);
Tailwind
colors: {
  custom: {
    50: '#be685b',
    500: '#97231e',
    950: '#000000',
  },
}
SCSS
$custom: #97231e;
$custom-light: #be685b;
$custom-dark: #000000;
JSON
{
  "hex": "#97231e",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.479,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.15288,
    "h": 27.8
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#97231E
secondary
#51BBC0
accent
#E3EA3E
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #97231E

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

Preview Lab → · Contrast checker → · Palette generator →

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