#812A2F#812A2F

#812A2F is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.7% C 0.120 H 20.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#812A2F
RGBrgb(129, 42, 47)
HSLhsl(357, 51%, 34%)
HSVhsv(357, 67%, 51%)
CMYKcmyk(0%, 67.4%, 63.6%, 49.4%)
CIE-LABlab(30.71, 37.77, 17.55)
CIE-LCHlch(30.71, 41.65, 24.92°)
OKLaboklab(41.73% 0.112 0.0424)
OKLCHoklch(41.73% 0.12 20.7)
XYZxyz(10.3953, 6.5297, 3.4017)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812A2F #2A817C
analogous
#812A5A #812A2F #81502A
triadic
#812A2F #2F812A #2A2F81
tetradic
#812A2F #5A812A #2A817C #502A81
square
#812A2F #5A812A #2A817C #502A81
split-complementary
#812A2F #2A8150 #2A5A81
monochromatic
#250C0D #531B1E #812A2F #AF3940 #CA5C62

Accessibility & contrast

On white

9.11
#812A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#812A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812A2F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812A2F#FFFFFF#000000##FFFFFF
##812A2F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D2F
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#8E172C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812a2f;
/* rgb */ color: rgb(129, 42, 47);
/* oklch */ color: oklch(41.7% 0.120 20.7);
Tailwind
colors: {
  custom: {
    50: '#ab6967',
    500: '#812a2f',
    950: '#000000',
  },
}
SCSS
$custom: #812a2f;
$custom-light: #ab6967;
$custom-dark: #000000;
JSON
{
  "hex": "#812a2f",
  "rgb": {
    "r": 129,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 356.552,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.11977,
    "h": 20.7
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#812A2F
secondary
#57AFAA
accent
#DAD24D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #812A2F

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

Preview Lab → · Contrast checker → · Palette generator →

#812A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva