#802A17#802A17

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

Color values

HEX#802A17
RGBrgb(128, 42, 23)
HSLhsl(11, 70%, 30%)
HSVhsv(11, 82%, 50%)
CMYKcmyk(0%, 67.2%, 82%, 49.8%)
CIE-LABlab(30.18, 36.10, 31.59)
CIE-LCHlch(30.18, 47.97, 41.19°)
OKLaboklab(41.18% 0.1018 0.0686)
OKLCHoklch(41.18% 0.123 34)
XYZxyz(9.8858, 6.3084, 1.5075)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A17 #176D80
analogous
#801739 #802A17 #805F17
triadic
#802A17 #17802A #2A1780
tetradic
#802A17 #398017 #176D80 #5F1780
square
#802A17 #398017 #176D80 #5F1780
split-complementary
#802A17 #17805F #173980
monochromatic
#1A0905 #4C190E #802A17 #B43B20 #DB5436

Accessibility & contrast

On white

9.29
#802A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A17
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A17#FFFFFF#000000##FFFFFF
##802A171.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#8D1226
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802a17;
/* rgb */ color: rgb(128, 42, 23);
/* oklch */ color: oklch(41.2% 0.123 34.0);
Tailwind
colors: {
  custom: {
    50: '#ac6855',
    500: '#802a17',
    950: '#000000',
  },
}
SCSS
$custom: #802a17;
$custom-light: #ac6855;
$custom-dark: #000000;
JSON
{
  "hex": "#802a17",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 10.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.12281,
    "h": 34
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#802A17
secondary
#3E9FB4
accent
#CCEC3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802A17

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

Preview Lab → · Contrast checker → · Palette generator →

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