#81231A#81231A

#81231A is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.130 H 29.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#81231A
RGBrgb(129, 35, 26)
HSLhsl(5, 66%, 30%)
HSVhsv(5, 80%, 51%)
CMYKcmyk(0%, 72.9%, 79.8%, 49.4%)
CIE-LABlab(29.27, 39.65, 29.01)
CIE-LCHlch(29.27, 49.12, 36.19°)
OKLaboklab(40.55% 0.1134 0.0639)
OKLCHoklch(40.55% 0.13 29.4)
XYZxyz(9.8419, 5.9453, 1.6064)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81231A #1A7881
analogous
#811A44 #81231A #81571A
triadic
#81231A #1A8123 #231A81
tetradic
#81231A #44811A #1A7881 #571A81
square
#81231A #44811A #1A7881 #571A81
split-complementary
#81231A #1A8157 #1A4481
monochromatic
#1B0705 #4E1510 #81231A #B43124 #D84B3D

Accessibility & contrast

On white

9.59
#81231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#81231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81231A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81231A#FFFFFF#000000##FFFFFF
##81231A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#8E0022
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #81231a;
/* rgb */ color: rgb(129, 35, 26);
/* oklch */ color: oklch(40.6% 0.130 29.4);
Tailwind
colors: {
  custom: {
    50: '#ad6557',
    500: '#81231a',
    950: '#000000',
  },
}
SCSS
$custom: #81231a;
$custom-light: #ad6557;
$custom-dark: #000000;
JSON
{
  "hex": "#81231a",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 5.243,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.13014,
    "h": 29.4
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#81231A
secondary
#42ABB5
accent
#DAE93E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #81231A

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

Preview Lab → · Contrast checker → · Palette generator →

#81231A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva