#81171B#81171B

#81171B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.140 H 25.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#81171B
RGBrgb(129, 23, 27)
HSLhsl(358, 70%, 30%)
HSVhsv(358, 82%, 51%)
CMYKcmyk(0%, 82.2%, 79.1%, 49.4%)
CIE-LABlab(27.74, 43.99, 26.75)
CIE-LCHlch(27.74, 51.49, 31.30°)
OKLaboklab(39.41% 0.1273 0.0593)
OKLCHoklch(39.41% 0.14 25)
XYZxyz(9.5586, 5.3606, 1.5681)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81171B #17817D
analogous
#811750 #81171B #814817
triadic
#81171B #1B8117 #171B81
tetradic
#81171B #508117 #17817D #481781
square
#81171B #508117 #17817D #481781
split-complementary
#81171B #178148 #175081
monochromatic
#1A0505 #4D0E10 #81171B #B52026 #DB373D

Accessibility & contrast

On white

10.14
#81171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#81171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81171B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81171B#FFFFFF#000000##FFFFFF
##81171B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#8F001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #81171b;
/* rgb */ color: rgb(129, 23, 27);
/* oklch */ color: oklch(39.4% 0.140 25.0);
Tailwind
colors: {
  custom: {
    50: '#ae5f57',
    500: '#81171b',
    950: '#000000',
  },
}
SCSS
$custom: #81171b;
$custom-light: #ae5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#81171b",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.736,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.14041,
    "h": 25
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#81171B
secondary
#3EB5B1
accent
#EDE63B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #81171B

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

Preview Lab → · Contrast checker → · Palette generator →

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