#802A1F#802A1F

#802A1F is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.3% C 0.121 H 30.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#802A1F
RGBrgb(128, 42, 31)
HSLhsl(7, 61%, 31%)
HSVhsv(7, 76%, 50%)
CMYKcmyk(0%, 67.2%, 75.8%, 49.8%)
CIE-LABlab(30.27, 36.44, 27.04)
CIE-LCHlch(30.27, 45.38, 36.58°)
OKLaboklab(41.28% 0.1046 0.061)
OKLCHoklch(41.28% 0.121 30.3)
XYZxyz(9.9785, 6.3455, 1.9954)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A1F #1F7580
analogous
#801F44 #802A1F #805A1F
triadic
#802A1F #1F802A #2A1F80
tetradic
#802A1F #44801F #1F7580 #5A1F80
square
#802A1F #44801F #1F7580 #5A1F80
split-complementary
#802A1F #1F805A #1F4480
monochromatic
#1D0A07 #4F1A13 #802A1F #B13A2B #D25747

Accessibility & contrast

On white

9.26
#802A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A1F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A1F#FFFFFF#000000##FFFFFF
##802A1F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#8D1328
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802a1f;
/* rgb */ color: rgb(128, 42, 31);
/* oklch */ color: oklch(41.3% 0.121 30.3);
Tailwind
colors: {
  custom: {
    50: '#ac685b',
    500: '#802a1f',
    950: '#000000',
  },
}
SCSS
$custom: #802a1f;
$custom-light: #ac685b;
$custom-dark: #000000;
JSON
{
  "hex": "#802a1f",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 6.804,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.12106,
    "h": 30.3
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#802A1F
secondary
#48A7B3
accent
#D2E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #802A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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