#81271D#81271D

#81271D is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.126 H 29.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#81271D
RGBrgb(129, 39, 29)
HSLhsl(6, 63%, 31%)
HSVhsv(6, 78%, 51%)
CMYKcmyk(0%, 69.8%, 77.5%, 49.4%)
CIE-LABlab(29.93, 38.07, 27.93)
CIE-LCHlch(29.93, 47.22, 36.26°)
OKLaboklab(41.05% 0.1091 0.0624)
OKLCHoklch(41.05% 0.126 29.7)
XYZxyz(10.0017, 6.2083, 1.8338)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81271D #1D7781
analogous
#811D45 #81271D #81591D
triadic
#81271D #1D8127 #271D81
tetradic
#81271D #45811D #1D7781 #591D81
square
#81271D #45811D #1D7781 #591D81
split-complementary
#81271D #1D8159 #1D4581
monochromatic
#1D0907 #4F1812 #81271D #B33628 #D55244

Accessibility & contrast

On white

9.37
#81271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#81271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81271D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81271D#FFFFFF#000000##FFFFFF
##81271D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#8E0B25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81271d;
/* rgb */ color: rgb(129, 39, 29);
/* oklch */ color: oklch(41.1% 0.126 29.7);
Tailwind
colors: {
  custom: {
    50: '#ad6759',
    500: '#81271d',
    950: '#000000',
  },
}
SCSS
$custom: #81271d;
$custom-light: #ad6759;
$custom-dark: #000000;
JSON
{
  "hex": "#81271d",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41054,
    "c": 0.12567,
    "h": 29.7
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#81271D
secondary
#46A9B4
accent
#D6E641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #81271D

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

Preview Lab → · Contrast checker → · Palette generator →

#81271D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva