#97212F#97212F

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

Color values

HEX#97212F
RGBrgb(151, 33, 47)
HSLhsl(353, 64%, 36%)
HSVhsv(353, 78%, 59%)
CMYKcmyk(0%, 78.1%, 68.9%, 40.8%)
CIE-LABlab(33.72, 48.62, 22.25)
CIE-LCHlch(33.72, 53.47, 24.59°)
OKLaboklab(44.76% 0.1436 0.0523)
OKLCHoklch(44.76% 0.153 20)
XYZxyz(13.8210, 7.8744, 3.4809)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97212F #219789
analogous
#97216A #97212F #974E21
triadic
#97212F #2F9721 #212F97
tetradic
#97212F #6A9721 #219789 #4E2197
square
#97212F #6A9721 #219789 #4E2197
split-complementary
#97212F #21974E #216A97
monochromatic
#330B10 #65161F #97212F #C92C3F #DA5867

Accessibility & contrast

On white

8.16
#97212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97212F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97212F#FFFFFF#000000##FFFFFF
##97212F1.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)
#443F2F
Deuteranopia (green-blind)
#61582B
Tritanopia (blue-blind)
#A60027
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #97212f;
/* rgb */ color: rgb(151, 33, 47);
/* oklch */ color: oklch(44.8% 0.153 20.0);
Tailwind
colors: {
  custom: {
    50: '#bd6767',
    500: '#97212f',
    950: '#000000',
  },
}
SCSS
$custom: #97212f;
$custom-light: #bd6767;
$custom-dark: #000000;
JSON
{
  "hex": "#97212f",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 352.881,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.15284,
    "h": 20
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#97212F
secondary
#55BEB2
accent
#E7D341
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #97212F

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

Preview Lab → · Contrast checker → · Palette generator →

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