#802A2A#802A2A

#802A2A is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.5% C 0.119 H 23.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#802A2A
RGBrgb(128, 42, 42)
HSLhsl(0, 51%, 33%)
HSVhsv(0, 67%, 50%)
CMYKcmyk(0%, 67.2%, 67.2%, 49.8%)
CIE-LABlab(30.43, 37.07, 20.37)
CIE-LCHlch(30.43, 42.30, 28.80°)
OKLaboklab(41.46% 0.1089 0.0483)
OKLCHoklch(41.46% 0.119 23.9)
XYZxyz(10.1490, 6.4137, 2.8936)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A2A #2A8080
analogous
#802A55 #802A2A #80552A
triadic
#802A2A #2A802A #2A2A80
tetradic
#802A2A #55802A #2A8080 #552A80
square
#802A2A #55802A #2A8080 #552A80
split-complementary
#802A2A #2A8055 #2A5580
monochromatic
#240C0C #521B1B #802A2A #AE3939 #C95B5B

Accessibility & contrast

On white

9.20
#802A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#802A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A2A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A2A#FFFFFF#000000##FFFFFF
##802A2A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C29
Deuteranopia (green-blind)
#564E28
Tritanopia (blue-blind)
#8D162B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802a2a;
/* rgb */ color: rgb(128, 42, 42);
/* oklch */ color: oklch(41.5% 0.119 23.9);
Tailwind
colors: {
  custom: {
    50: '#ab6863',
    500: '#802a2a',
    950: '#000000',
  },
}
SCSS
$custom: #802a2a;
$custom-light: #ab6863;
$custom-dark: #000000;
JSON
{
  "hex": "#802a2a",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41455,
    "c": 0.11912,
    "h": 23.9
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#802A2A
secondary
#57AFAF
accent
#DADA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #802A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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