#97281F#97281F

#97281F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.2% C 0.148 H 29.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#97281F
RGBrgb(151, 40, 31)
HSLhsl(5, 66%, 36%)
HSVhsv(5, 79%, 59%)
CMYKcmyk(0%, 73.5%, 79.5%, 40.8%)
CIE-LABlab(34.39, 45.40, 32.80)
CIE-LCHlch(34.39, 56.01, 35.84°)
OKLaboklab(45.18% 0.1299 0.0719)
OKLCHoklch(45.18% 0.148 29)
XYZxyz(13.7702, 8.1979, 2.1534)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97281F #1F8E97
analogous
#971F52 #97281F #97641F
triadic
#97281F #1F9728 #281F97
tetradic
#97281F #52971F #1F8E97 #641F97
square
#97281F #52971F #1F8E97 #641F97
split-complementary
#97281F #1F9764 #1F5297
monochromatic
#310D0A #641B15 #97281F #CA3529 #DC5F54

Accessibility & contrast

On white

7.96
#97281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#97281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97281F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97281F#FFFFFF#000000##FFFFFF
##97281F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411D
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#A70027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #97281f;
/* rgb */ color: rgb(151, 40, 31);
/* oklch */ color: oklch(45.2% 0.148 29.0);
Tailwind
colors: {
  custom: {
    50: '#be6a5b',
    500: '#97281f',
    950: '#000000',
  },
}
SCSS
$custom: #97281f;
$custom-light: #be6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#97281f",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 4.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.14841,
    "h": 29
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#97281F
secondary
#52B7BF
accent
#DCE93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #97281F

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

Preview Lab → · Contrast checker → · Palette generator →

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