#802A1A#802A1A

#802A1A is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.2% C 0.122 H 32.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#802A1A
RGBrgb(128, 42, 26)
HSLhsl(9, 66%, 30%)
HSVhsv(9, 80%, 50%)
CMYKcmyk(0%, 67.2%, 79.7%, 49.8%)
CIE-LABlab(30.21, 36.22, 29.93)
CIE-LCHlch(30.21, 46.98, 39.57°)
OKLaboklab(41.22% 0.1028 0.066)
OKLCHoklch(41.22% 0.122 32.7)
XYZxyz(9.9176, 6.3211, 1.6750)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A1A #1A7080
analogous
#801A3D #802A1A #805D1A
triadic
#802A1A #1A802A #2A1A80
tetradic
#802A1A #3D801A #1A7080 #5D1A80
square
#802A1A #3D801A #1A7080 #5D1A80
split-complementary
#802A1A #1A805D #1A3D80
monochromatic
#1A0905 #4D1910 #802A1A #B33B24 #D8553D

Accessibility & contrast

On white

9.28
#802A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A1A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A1A#FFFFFF#000000##FFFFFF
##802A1A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#8D1227
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802a1a;
/* rgb */ color: rgb(128, 42, 26);
/* oklch */ color: oklch(41.2% 0.122 32.7);
Tailwind
colors: {
  custom: {
    50: '#ac6857',
    500: '#802a1a',
    950: '#000000',
  },
}
SCSS
$custom: #802a1a;
$custom-light: #ac6857;
$custom-dark: #000000;
JSON
{
  "hex": "#802a1a",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 9.412,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.12214,
    "h": 32.7
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#802A1A
secondary
#42A2B4
accent
#CEE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #802A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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