#802A1B#802A1B

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

Color values

HEX#802A1B
RGBrgb(128, 42, 27)
HSLhsl(9, 65%, 30%)
HSVhsv(9, 79%, 50%)
CMYKcmyk(0%, 67.2%, 78.9%, 49.8%)
CIE-LABlab(30.22, 36.26, 29.36)
CIE-LCHlch(30.22, 46.66, 39.00°)
OKLaboklab(41.23% 0.1032 0.065)
OKLCHoklch(41.23% 0.122 32.2)
XYZxyz(9.9290, 6.3257, 1.7349)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A1B #1B7180
analogous
#801B3E #802A1B #805C1B
triadic
#802A1B #1B802A #2A1B80
tetradic
#802A1B #3E801B #1B7180 #5C1B80
square
#802A1B #3E801B #1B7180 #5C1B80
split-complementary
#802A1B #1B805C #1B3E80
monochromatic
#1B0906 #4D1910 #802A1B #B33B26 #D6553F

Accessibility & contrast

On white

9.27
#802A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A1B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A1B#FFFFFF#000000##FFFFFF
##802A1B1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802a1b;
/* rgb */ color: rgb(128, 42, 27);
/* oklch */ color: oklch(41.2% 0.122 32.2);
Tailwind
colors: {
  custom: {
    50: '#ac6858',
    500: '#802a1b',
    950: '#000000',
  },
}
SCSS
$custom: #802a1b;
$custom-light: #ac6858;
$custom-dark: #000000;
JSON
{
  "hex": "#802a1b",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 27
  },
  "hsl": {
    "h": 8.911,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.12192,
    "h": 32.2
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#802A1B
secondary
#43A3B4
accent
#CFE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #802A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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