#80271A#80271A

#80271A is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.125 H 31.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#80271A
RGBrgb(128, 39, 26)
HSLhsl(8, 66%, 30%)
HSVhsv(8, 80%, 50%)
CMYKcmyk(0%, 69.5%, 79.7%, 49.8%)
CIE-LABlab(29.70, 37.58, 29.40)
CIE-LCHlch(29.70, 47.71, 38.04°)
OKLaboklab(40.84% 0.1071 0.0648)
OKLCHoklch(40.84% 0.125 31.2)
XYZxyz(9.8152, 6.1163, 1.6408)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80271A #1A7380
analogous
#801A40 #80271A #805A1A
triadic
#80271A #1A8027 #271A80
tetradic
#80271A #40801A #1A7380 #5A1A80
square
#80271A #40801A #1A7380 #5A1A80
split-complementary
#80271A #1A805A #1A4080
monochromatic
#1A0805 #4D1810 #80271A #B33624 #D8513D

Accessibility & contrast

On white

9.45
#80271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#80271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80271A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80271A#FFFFFF#000000##FFFFFF
##80271A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#8D0B25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #80271a;
/* rgb */ color: rgb(128, 39, 26);
/* oklch */ color: oklch(40.8% 0.125 31.2);
Tailwind
colors: {
  custom: {
    50: '#ac6757',
    500: '#80271a',
    950: '#000000',
  },
}
SCSS
$custom: #80271a;
$custom-light: #ac6757;
$custom-dark: #000000;
JSON
{
  "hex": "#80271a",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 7.647,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.12513,
    "h": 31.2
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#80271A
secondary
#42A5B4
accent
#D3E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #80271A

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

Preview Lab → · Contrast checker → · Palette generator →

#80271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva