#802A12#802A12

#802A12 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.1% C 0.124 H 35.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#802A12
RGBrgb(128, 42, 18)
HSLhsl(13, 75%, 29%)
HSVhsv(13, 86%, 50%)
CMYKcmyk(0%, 67.2%, 85.9%, 49.8%)
CIE-LABlab(30.13, 35.93, 34.21)
CIE-LCHlch(30.13, 49.61, 43.59°)
OKLaboklab(41.13% 0.1004 0.0726)
OKLCHoklch(41.13% 0.124 35.9)
XYZxyz(9.8404, 6.2902, 1.2681)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A12 #126880
analogous
#801231 #802A12 #806112
triadic
#802A12 #12802A #2A1280
tetradic
#802A12 #318012 #126880 #611280
square
#802A12 #318012 #126880 #611280
split-complementary
#802A12 #128061 #123180
monochromatic
#1B0904 #4A180A #802A12 #B63C1A #E1532B

Accessibility & contrast

On white

9.30
#802A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#802A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A12
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A12#FFFFFF#000000##FFFFFF
##802A121.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#584E0E
Tritanopia (blue-blind)
#8D1125
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802a12;
/* rgb */ color: rgb(128, 42, 18);
/* oklch */ color: oklch(41.1% 0.124 35.9);
Tailwind
colors: {
  custom: {
    50: '#ad6852',
    500: '#802a12',
    950: '#000000',
  },
}
SCSS
$custom: #802a12;
$custom-light: #ad6852;
$custom-dark: #000000;
JSON
{
  "hex": "#802a12",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 13.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41134,
    "c": 0.12387,
    "h": 35.9
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#802A12
secondary
#389AB6
accent
#C9F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #802A12

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

Preview Lab → · Contrast checker → · Palette generator →

#802A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva