#97271C#97271C

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

Color values

HEX#97271C
RGBrgb(151, 39, 28)
HSLhsl(5, 69%, 35%)
HSVhsv(5, 81%, 59%)
CMYKcmyk(0%, 74.2%, 81.5%, 40.8%)
CIE-LABlab(34.22, 45.67, 34.32)
CIE-LCHlch(34.22, 57.13, 36.93°)
OKLaboklab(45.05% 0.1301 0.0742)
OKLCHoklch(45.05% 0.15 29.7)
XYZxyz(13.6992, 8.1163, 1.9437)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97271C #1C8C97
analogous
#971C4E #97271C #97651C
triadic
#97271C #1C9727 #271C97
tetradic
#97271C #4E971C #1C8C97 #651C97
square
#97271C #4E971C #1C8C97 #651C97
split-complementary
#97271C #1C9765 #1C4E97
monochromatic
#300C09 #631A12 #97271C #CB3426 #DE5C4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97271C#FFFFFF#000000##FFFFFF
##97271C1.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)
#49411A
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#A70026
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #97271c;
/* rgb */ color: rgb(151, 39, 28);
/* oklch */ color: oklch(45.1% 0.150 29.7);
Tailwind
colors: {
  custom: {
    50: '#be6a59',
    500: '#97271c',
    950: '#000000',
  },
}
SCSS
$custom: #97271c;
$custom-light: #be6a59;
$custom-dark: #000000;
JSON
{
  "hex": "#97271c",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.366,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.14977,
    "h": 29.7
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#97271C
secondary
#4EB7C1
accent
#DCEC3C
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #97271C

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

Preview Lab → · Contrast checker → · Palette generator →

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