#97251F#97251F

#97251F is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.151 H 28.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#97251F
RGBrgb(151, 37, 31)
HSLhsl(3, 66%, 36%)
HSVhsv(3, 79%, 59%)
CMYKcmyk(0%, 75.5%, 79.5%, 40.8%)
CIE-LABlab(33.99, 46.51, 32.38)
CIE-LCHlch(33.99, 56.67, 34.84°)
OKLaboklab(44.89% 0.1334 0.0709)
OKLCHoklch(44.89% 0.151 28)
XYZxyz(13.6730, 8.0035, 2.1209)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97251F #1F9197
analogous
#971F55 #97251F #97611F
triadic
#97251F #1F9725 #251F97
tetradic
#97251F #55971F #1F9197 #611F97
square
#97251F #55971F #1F9197 #611F97
split-complementary
#97251F #1F9761 #1F5597
monochromatic
#310C0A #641915 #97251F #CA3129 #DC5B54

Accessibility & contrast

On white

8.08
#97251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#97251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97251F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97251F#FFFFFF#000000##FFFFFF
##97251F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#A70025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #97251f;
/* rgb */ color: rgb(151, 37, 31);
/* oklch */ color: oklch(44.9% 0.151 28.0);
Tailwind
colors: {
  custom: {
    50: '#be695b',
    500: '#97251f',
    950: '#000000',
  },
}
SCSS
$custom: #97251f;
$custom-light: #be695b;
$custom-dark: #000000;
JSON
{
  "hex": "#97251f",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 3,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.15105,
    "h": 28
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#97251F
secondary
#52BABF
accent
#E0E93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #97251F

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

Preview Lab → · Contrast checker → · Palette generator →

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