#81172B#81172B

#81172B is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.139 H 16.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#81172B
RGBrgb(129, 23, 43)
HSLhsl(349, 70%, 30%)
HSVhsv(349, 82%, 51%)
CMYKcmyk(0%, 82.2%, 66.7%, 49.4%)
CIE-LABlab(28.00, 44.80, 16.67)
CIE-LCHlch(28.00, 47.80, 20.41°)
OKLaboklab(39.68% 0.1336 0.04)
OKLCHoklch(39.68% 0.139 16.6)
XYZxyz(9.7968, 5.4558, 2.8223)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81172B #17816D
analogous
#811760 #81172B #813817
triadic
#81172B #2B8117 #172B81
tetradic
#81172B #608117 #17816D #381781
square
#81172B #608117 #17816D #381781
split-complementary
#81172B #178138 #176081
monochromatic
#1A0509 #4D0E1A #81172B #B5203C #DB3756

Accessibility & contrast

On white

10.04
#81172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#81172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81172B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81172B#FFFFFF#000000##FFFFFF
##81172B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342B
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#8E0020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #81172b;
/* rgb */ color: rgb(129, 23, 43);
/* oklch */ color: oklch(39.7% 0.139 16.6);
Tailwind
colors: {
  custom: {
    50: '#ac6064',
    500: '#81172b',
    950: '#000000',
  },
}
SCSS
$custom: #81172b;
$custom-light: #ac6064;
$custom-dark: #000000;
JSON
{
  "hex": "#81172b",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 348.679,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39683,
    "c": 0.13948,
    "h": 16.6
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#81172B
secondary
#3EB59F
accent
#EDCB3B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #81172B

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

Preview Lab → · Contrast checker → · Palette generator →

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