#802A1C#802A1C

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

Color values

HEX#802A1C
RGBrgb(128, 42, 28)
HSLhsl(8, 64%, 31%)
HSVhsv(8, 78%, 50%)
CMYKcmyk(0%, 67.2%, 78.1%, 49.8%)
CIE-LABlab(30.23, 36.30, 28.79)
CIE-LCHlch(30.23, 46.33, 38.42°)
OKLaboklab(41.24% 0.1035 0.064)
OKLCHoklch(41.24% 0.122 31.7)
XYZxyz(9.9407, 6.3304, 1.7968)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A1C #1C7280
analogous
#801C40 #802A1C #805C1C
triadic
#802A1C #1C802A #2A1C80
tetradic
#802A1C #40801C #1C7280 #5C1C80
square
#802A1C #40801C #1C7280 #5C1C80
split-complementary
#802A1C #1C805C #1C4080
monochromatic
#1C0906 #4E1A11 #802A1C #B23A27 #D55641

Accessibility & contrast

On white

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

On black

2.27
#802A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##802A1C#FFFFFF#000000##FFFFFF
##802A1C1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1A
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#8D1327
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802a1c;
/* rgb */ color: rgb(128, 42, 28);
/* oklch */ color: oklch(41.2% 0.122 31.7);
Tailwind
colors: {
  custom: {
    50: '#ac6859',
    500: '#802a1c',
    950: '#000000',
  },
}
SCSS
$custom: #802a1c;
$custom-light: #ac6859;
$custom-dark: #000000;
JSON
{
  "hex": "#802a1c",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 8.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.1217,
    "h": 31.7
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#802A1C
secondary
#44A4B3
accent
#D0E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #802A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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