#96271B#96271B

#96271B is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.149 H 30.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#96271B
RGBrgb(150, 39, 27)
HSLhsl(6, 69%, 35%)
HSVhsv(6, 82%, 59%)
CMYKcmyk(0%, 74%, 82%, 41.2%)
CIE-LABlab(34.02, 45.30, 34.61)
CIE-LCHlch(34.02, 57.01, 37.38°)
OKLaboklab(44.86% 0.1289 0.0746)
OKLCHoklch(44.86% 0.149 30.1)
XYZxyz(13.5026, 8.0163, 1.8730)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96271B #1B8A96
analogous
#961B4C #96271B #96651B
triadic
#96271B #1B9627 #271B96
tetradic
#96271B #4C961B #1B8A96 #651B96
square
#96271B #4C961B #1B8A96 #651B96
split-complementary
#96271B #1B9665 #1B4C96
monochromatic
#2E0C08 #621A12 #96271B #CA3424 #DF5B4D

Accessibility & contrast

On white

8.07
#96271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#96271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96271B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96271B#FFFFFF#000000##FFFFFF
##96271B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#A60025
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #96271b;
/* rgb */ color: rgb(150, 39, 27);
/* oklch */ color: oklch(44.9% 0.149 30.1);
Tailwind
colors: {
  custom: {
    50: '#bd6a59',
    500: '#96271b',
    950: '#000000',
  },
}
SCSS
$custom: #96271b;
$custom-light: #bd6a59;
$custom-dark: #000000;
JSON
{
  "hex": "#96271b",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 5.854,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.14888,
    "h": 30.1
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#96271B
secondary
#4CB6C1
accent
#DBEC3B
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78

Preview Lab

Preview with #96271B

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

Preview Lab → · Contrast checker → · Palette generator →

#96271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva