#802812#802812

#802812 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.9% C 0.126 H 34.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#802812
RGBrgb(128, 40, 18)
HSLhsl(12, 75%, 29%)
HSVhsv(12, 86%, 50%)
CMYKcmyk(0%, 68.8%, 85.9%, 49.8%)
CIE-LABlab(29.79, 36.85, 33.89)
CIE-LCHlch(29.79, 50.07, 42.61°)
OKLaboklab(40.88% 0.1032 0.0719)
OKLCHoklch(40.88% 0.126 34.9)
XYZxyz(9.7712, 6.1519, 1.2451)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802812 #126A80
analogous
#801233 #802812 #805F12
triadic
#802812 #128028 #281280
tetradic
#802812 #338012 #126A80 #5F1280
square
#802812 #338012 #126A80 #5F1280
split-complementary
#802812 #12805F #123380
monochromatic
#1B0804 #4A170A #802812 #B6391A #E1502B

Accessibility & contrast

On white

9.42
#802812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#802812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802812
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802812#FFFFFF#000000##FFFFFF
##8028121.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8D0C24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802812;
/* rgb */ color: rgb(128, 40, 18);
/* oklch */ color: oklch(40.9% 0.126 34.9);
Tailwind
colors: {
  custom: {
    50: '#ad6752',
    500: '#802812',
    950: '#000000',
  },
}
SCSS
$custom: #802812;
$custom-light: #ad6752;
$custom-dark: #000000;
JSON
{
  "hex": "#802812",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 12,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40878,
    "c": 0.12578,
    "h": 34.9
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#802812
secondary
#389DB6
accent
#CCF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #802812

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

Preview Lab → · Contrast checker → · Palette generator →

#802812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva