#81271E#81271E

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

Color values

HEX#81271E
RGBrgb(129, 39, 30)
HSLhsl(5, 62%, 31%)
HSVhsv(5, 77%, 51%)
CMYKcmyk(0%, 69.8%, 76.7%, 49.4%)
CIE-LABlab(29.94, 38.12, 27.34)
CIE-LCHlch(29.94, 46.91, 35.65°)
OKLaboklab(41.07% 0.1095 0.0613)
OKLCHoklch(41.07% 0.125 29.3)
XYZxyz(10.0142, 6.2134, 1.9000)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81271E #1E7881
analogous
#811E46 #81271E #81581E
triadic
#81271E #1E8127 #271E81
tetradic
#81271E #46811E #1E7881 #581E81
square
#81271E #46811E #1E7881 #581E81
split-complementary
#81271E #1E8158 #1E4681
monochromatic
#1E0907 #4F1812 #81271E #B3362A #D45246

Accessibility & contrast

On white

9.36
#81271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81271E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81271E#FFFFFF#000000##FFFFFF
##81271E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1C
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#8E0C26
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81271e;
/* rgb */ color: rgb(129, 39, 30);
/* oklch */ color: oklch(41.1% 0.125 29.3);
Tailwind
colors: {
  custom: {
    50: '#ad675a',
    500: '#81271e',
    950: '#000000',
  },
}
SCSS
$custom: #81271e;
$custom-light: #ad675a;
$custom-dark: #000000;
JSON
{
  "hex": "#81271e",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 5.455,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.12548,
    "h": 29.3
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#81271E
secondary
#47AAB4
accent
#D7E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #81271E

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

Preview Lab → · Contrast checker → · Palette generator →

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