#80271B#80271B

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

Color values

HEX#80271B
RGBrgb(128, 39, 27)
HSLhsl(7, 65%, 30%)
HSVhsv(7, 79%, 50%)
CMYKcmyk(0%, 69.5%, 78.9%, 49.8%)
CIE-LABlab(29.72, 37.62, 28.83)
CIE-LCHlch(29.72, 47.39, 37.46°)
OKLaboklab(40.85% 0.1074 0.0638)
OKLCHoklch(40.85% 0.125 30.7)
XYZxyz(9.8265, 6.1208, 1.7007)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80271B #1B7480
analogous
#801B41 #80271B #80591B
triadic
#80271B #1B8027 #271B80
tetradic
#80271B #41801B #1B7480 #591B80
square
#80271B #41801B #1B7480 #591B80
split-complementary
#80271B #1B8059 #1B4180
monochromatic
#1B0806 #4D1810 #80271B #B33626 #D6513F

Accessibility & contrast

On white

9.44
#80271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80271B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80271B#FFFFFF#000000##FFFFFF
##80271B1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A19
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#8D0C25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #80271b;
/* rgb */ color: rgb(128, 39, 27);
/* oklch */ color: oklch(40.8% 0.125 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac6758',
    500: '#80271b',
    950: '#000000',
  },
}
SCSS
$custom: #80271b;
$custom-light: #ac6758;
$custom-dark: #000000;
JSON
{
  "hex": "#80271b",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 7.129,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40848,
    "c": 0.12493,
    "h": 30.7
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#80271B
secondary
#43A6B4
accent
#D4E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #80271B

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

Preview Lab → · Contrast checker → · Palette generator →

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