#97231C#97231C

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

Color values

HEX#97231C
RGBrgb(151, 35, 28)
HSLhsl(3, 69%, 35%)
HSVhsv(3, 81%, 59%)
CMYKcmyk(0%, 76.8%, 81.5%, 40.8%)
CIE-LABlab(33.71, 47.11, 33.80)
CIE-LCHlch(33.71, 57.98, 35.66°)
OKLaboklab(44.66% 0.1346 0.0731)
OKLCHoklch(44.66% 0.153 28.5)
XYZxyz(13.5748, 7.8674, 1.9022)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97231C #1C9097
analogous
#971C52 #97231C #97611C
triadic
#97231C #1C9723 #231C97
tetradic
#97231C #52971C #1C9097 #611C97
square
#97231C #52971C #1C9097 #611C97
split-complementary
#97231C #1C9761 #1C5297
monochromatic
#300B09 #631712 #97231C #CB2F26 #DE574F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97231C#FFFFFF#000000##FFFFFF
##97231C1.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)
#473F1A
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#A70023
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #97231c;
/* rgb */ color: rgb(151, 35, 28);
/* oklch */ color: oklch(44.7% 0.153 28.5);
Tailwind
colors: {
  custom: {
    50: '#be6859',
    500: '#97231c',
    950: '#000000',
  },
}
SCSS
$custom: #97231c;
$custom-light: #be6859;
$custom-dark: #000000;
JSON
{
  "hex": "#97231c",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.415,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.15315,
    "h": 28.5
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#97231C
secondary
#4EBAC1
accent
#E2EC3C
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #97231C

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

Preview Lab → · Contrast checker → · Palette generator →

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