#96271F#96271F

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

Color values

HEX#96271F
RGBrgb(150, 39, 31)
HSLhsl(4, 66%, 35%)
HSVhsv(4, 79%, 59%)
CMYKcmyk(0%, 74%, 79.3%, 41.2%)
CIE-LABlab(34.06, 45.44, 32.39)
CIE-LCHlch(34.06, 55.80, 35.48°)
OKLaboklab(44.9% 0.1301 0.071)
OKLCHoklch(44.9% 0.148 28.6)
XYZxyz(13.5521, 8.0361, 2.1336)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96271F #1F8E96
analogous
#961F52 #96271F #96631F
triadic
#96271F #1F9627 #271F96
tetradic
#96271F #52961F #1F8E96 #631F96
square
#96271F #52961F #1F8E96 #631F96
split-complementary
#96271F #1F9663 #1F5296
monochromatic
#310D0A #631A15 #96271F #C93429 #DC5D54

Accessibility & contrast

On white

8.06
#96271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#96271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96271F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96271F#FFFFFF#000000##FFFFFF
##96271F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96271f;
/* rgb */ color: rgb(150, 39, 31);
/* oklch */ color: oklch(44.9% 0.148 28.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a5b',
    500: '#96271f',
    950: '#000000',
  },
}
SCSS
$custom: #96271f;
$custom-light: #bd6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#96271f",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.034,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.449,
    "c": 0.14825,
    "h": 28.6
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#96271F
secondary
#52B8BF
accent
#DDE93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #96271F

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

Preview Lab → · Contrast checker → · Palette generator →

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