#81172F#81172F

#81172F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.8% C 0.140 H 14.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#81172F
RGBrgb(129, 23, 47)
HSLhsl(346, 70%, 30%)
HSVhsv(346, 82%, 51%)
CMYKcmyk(0%, 82.2%, 63.6%, 49.4%)
CIE-LABlab(28.08, 45.05, 14.10)
CIE-LCHlch(28.08, 47.21, 17.38°)
OKLaboklab(39.77% 0.1353 0.0344)
OKLCHoklch(39.77% 0.14 14.3)
XYZxyz(9.8738, 5.4866, 3.2279)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81172F #178169
analogous
#811764 #81172F #813417
triadic
#81172F #2F8117 #172F81
tetradic
#81172F #648117 #178169 #341781
square
#81172F #648117 #178169 #341781
split-complementary
#81172F #178134 #176481
monochromatic
#1A0509 #4D0E1C #81172F #B52042 #DB375C

Accessibility & contrast

On white

10.01
#81172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#81172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81172F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81172F#FFFFFF#000000##FFFFFF
##81172F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#8E0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #81172f;
/* rgb */ color: rgb(129, 23, 47);
/* oklch */ color: oklch(39.8% 0.140 14.3);
Tailwind
colors: {
  custom: {
    50: '#ac6067',
    500: '#81172f',
    950: '#000000',
  },
}
SCSS
$custom: #81172f;
$custom-light: #ac6067;
$custom-dark: #000000;
JSON
{
  "hex": "#81172f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 346.415,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3977,
    "c": 0.13962,
    "h": 14.3
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#81172F
secondary
#3EB59A
accent
#EDC43B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #81172F

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

Preview Lab → · Contrast checker → · Palette generator →

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