#97212D#97212D

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

Color values

HEX#97212D
RGBrgb(151, 33, 45)
HSLhsl(354, 64%, 36%)
HSVhsv(354, 78%, 59%)
CMYKcmyk(0%, 78.1%, 70.2%, 40.8%)
CIE-LABlab(33.69, 48.51, 23.48)
CIE-LCHlch(33.69, 53.89, 25.83°)
OKLaboklab(44.72% 0.1428 0.0547)
OKLCHoklch(44.72% 0.153 21)
XYZxyz(13.7816, 7.8586, 3.2733)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97212D #21978B
analogous
#972168 #97212D #975021
triadic
#97212D #2D9721 #212D97
tetradic
#97212D #689721 #21978B #502197
square
#97212D #689721 #21978B #502197
split-complementary
#97212D #219750 #216897
monochromatic
#330B0F #65161E #97212D #C92C3C #DA5865

Accessibility & contrast

On white

8.17
#97212D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97212D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97212D#FFFFFF#000000##FFFFFF
##97212D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2C
Deuteranopia (green-blind)
#615829
Tritanopia (blue-blind)
#A60027
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #97212d;
/* rgb */ color: rgb(151, 33, 45);
/* oklch */ color: oklch(44.7% 0.153 21.0);
Tailwind
colors: {
  custom: {
    50: '#bd6765',
    500: '#97212d',
    950: '#000000',
  },
}
SCSS
$custom: #97212d;
$custom-light: #bd6765;
$custom-dark: #000000;
JSON
{
  "hex": "#97212d",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 353.898,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4472,
    "c": 0.15294,
    "h": 21
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#97212D
secondary
#55BEB4
accent
#E7D641
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130705
muted
#827A7A

Preview Lab

Preview with #97212D

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

Preview Lab → · Contrast checker → · Palette generator →

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