#81171C#81171C

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

Color values

HEX#81171C
RGBrgb(129, 23, 28)
HSLhsl(357, 70%, 30%)
HSVhsv(357, 82%, 51%)
CMYKcmyk(0%, 82.2%, 78.3%, 49.4%)
CIE-LABlab(27.75, 44.03, 26.14)
CIE-LCHlch(27.75, 51.21, 30.70°)
OKLaboklab(39.42% 0.1277 0.0582)
OKLCHoklch(39.42% 0.14 24.5)
XYZxyz(9.5704, 5.3653, 1.6301)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81171C #17817C
analogous
#811751 #81171C #814717
triadic
#81171C #1C8117 #171C81
tetradic
#81171C #518117 #17817C #471781
square
#81171C #518117 #17817C #471781
split-complementary
#81171C #178147 #175181
monochromatic
#1A0506 #4D0E11 #81171C #B52027 #DB373F

Accessibility & contrast

On white

10.13
#81171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81171C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81171C#FFFFFF#000000##FFFFFF
##81171C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331B
Deuteranopia (green-blind)
#524A18
Tritanopia (blue-blind)
#8F001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #81171c;
/* rgb */ color: rgb(129, 23, 28);
/* oklch */ color: oklch(39.4% 0.140 24.5);
Tailwind
colors: {
  custom: {
    50: '#ae6058',
    500: '#81171c',
    950: '#000000',
  },
}
SCSS
$custom: #81171c;
$custom-light: #ae6058;
$custom-dark: #000000;
JSON
{
  "hex": "#81171c",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 357.17,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39423,
    "c": 0.1403,
    "h": 24.5
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#81171C
secondary
#3EB5B0
accent
#EDE43B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #81171C

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

Preview Lab → · Contrast checker → · Palette generator →

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