#97231F#97231F

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

Color values

HEX#97231F
RGBrgb(151, 35, 31)
HSLhsl(2, 66%, 36%)
HSVhsv(2, 79%, 59%)
CMYKcmyk(0%, 76.8%, 79.5%, 40.8%)
CIE-LABlab(33.74, 47.22, 32.11)
CIE-LCHlch(33.74, 57.10, 34.22°)
OKLaboklab(44.7% 0.1356 0.0704)
OKLCHoklch(44.7% 0.153 27.4)
XYZxyz(13.6125, 7.8824, 2.1008)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97231F #1F9397
analogous
#971F57 #97231F #975F1F
triadic
#97231F #1F9723 #231F97
tetradic
#97231F #57971F #1F9397 #5F1F97
square
#97231F #57971F #1F9397 #5F1F97
split-complementary
#97231F #1F975F #1F5797
monochromatic
#310B0A #641715 #97231F #CA2F29 #DC5954

Accessibility & contrast

On white

8.15
#97231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97231F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97231F#FFFFFF#000000##FFFFFF
##97231F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97231f;
/* rgb */ color: rgb(151, 35, 31);
/* oklch */ color: oklch(44.7% 0.153 27.4);
Tailwind
colors: {
  custom: {
    50: '#be685b',
    500: '#97231f',
    950: '#000000',
  },
}
SCSS
$custom: #97231f;
$custom-light: #be685b;
$custom-dark: #000000;
JSON
{
  "hex": "#97231f",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 2,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.15274,
    "h": 27.4
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#97231F
secondary
#52BCBF
accent
#E3E93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #97231F

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

Preview Lab → · Contrast checker → · Palette generator →

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