#97271A#97271A

#97271A is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.150 H 30.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#97271A
RGBrgb(151, 39, 26)
HSLhsl(6, 71%, 35%)
HSVhsv(6, 83%, 59%)
CMYKcmyk(0%, 74.2%, 82.8%, 40.8%)
CIE-LABlab(34.20, 45.61, 35.41)
CIE-LCHlch(34.20, 57.74, 37.82°)
OKLaboklab(45.03% 0.1295 0.0759)
OKLCHoklch(45.03% 0.15 30.4)
XYZxyz(13.6761, 8.1071, 1.8218)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97271A #1A8A97
analogous
#971A4C #97271A #97661A
triadic
#97271A #1A9727 #271A97
tetradic
#97271A #4C971A #1A8A97 #661A97
square
#97271A #4C971A #1A8A97 #661A97
split-complementary
#97271A #1A9766 #1A4C97
monochromatic
#2F0C08 #631A11 #97271A #CB3423 #E05B4B

Accessibility & contrast

On white

8.01
#97271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#97271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97271A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97271A#FFFFFF#000000##FFFFFF
##97271A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#645914
Tritanopia (blue-blind)
#A70025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #97271a;
/* rgb */ color: rgb(151, 39, 26);
/* oklch */ color: oklch(45.0% 0.150 30.4);
Tailwind
colors: {
  custom: {
    50: '#be6a58',
    500: '#97271a',
    950: '#000000',
  },
}
SCSS
$custom: #97271a;
$custom-light: #be6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#97271a",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.24,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.15008,
    "h": 30.4
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#97271A
secondary
#4BB6C2
accent
#DBED3A
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #97271A

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

Preview Lab → · Contrast checker → · Palette generator →

#97271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva