#80271C#80271C

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

Color values

HEX#80271C
RGBrgb(128, 39, 28)
HSLhsl(7, 64%, 31%)
HSVhsv(7, 78%, 50%)
CMYKcmyk(0%, 69.5%, 78.1%, 49.8%)
CIE-LABlab(29.73, 37.66, 28.25)
CIE-LCHlch(29.73, 47.08, 36.87°)
OKLaboklab(40.86% 0.1077 0.0629)
OKLCHoklch(40.86% 0.125 30.3)
XYZxyz(9.8383, 6.1255, 1.7627)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80271C #1C7580
analogous
#801C43 #80271C #80591C
triadic
#80271C #1C8027 #271C80
tetradic
#80271C #43801C #1C7580 #591C80
square
#80271C #43801C #1C7580 #591C80
split-complementary
#80271C #1C8059 #1C4380
monochromatic
#1C0806 #4E1811 #80271C #B23627 #D55141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80271C#FFFFFF#000000##FFFFFF
##80271C1.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)
#403A1A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#8D0C25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #80271c;
/* rgb */ color: rgb(128, 39, 28);
/* oklch */ color: oklch(40.9% 0.125 30.3);
Tailwind
colors: {
  custom: {
    50: '#ac6759',
    500: '#80271c',
    950: '#000000',
  },
}
SCSS
$custom: #80271c;
$custom-light: #ac6759;
$custom-dark: #000000;
JSON
{
  "hex": "#80271c",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 6.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.12474,
    "h": 30.3
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#80271C
secondary
#44A7B3
accent
#D5E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #80271C

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

Preview Lab → · Contrast checker → · Palette generator →

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