#80271F#80271F

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

Color values

HEX#80271F
RGBrgb(128, 39, 31)
HSLhsl(5, 61%, 31%)
HSVhsv(5, 76%, 50%)
CMYKcmyk(0%, 69.5%, 75.8%, 49.8%)
CIE-LABlab(29.76, 37.80, 26.48)
CIE-LCHlch(29.76, 46.15, 35.01°)
OKLaboklab(40.9% 0.1088 0.0598)
OKLCHoklch(40.9% 0.124 28.8)
XYZxyz(9.8760, 6.1406, 1.9613)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80271F #1F7880
analogous
#801F47 #80271F #80571F
triadic
#80271F #1F8027 #271F80
tetradic
#80271F #47801F #1F7880 #571F80
square
#80271F #47801F #1F7880 #571F80
split-complementary
#80271F #1F8057 #1F4780
monochromatic
#1D0907 #4F1813 #80271F #B1362B #D25247

Accessibility & contrast

On white

9.43
#80271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#80271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80271F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80271F#FFFFFF#000000##FFFFFF
##80271F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8D0D26
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #80271f;
/* rgb */ color: rgb(128, 39, 31);
/* oklch */ color: oklch(40.9% 0.124 28.8);
Tailwind
colors: {
  custom: {
    50: '#ac675b',
    500: '#80271f',
    950: '#000000',
  },
}
SCSS
$custom: #80271f;
$custom-light: #ac675b;
$custom-dark: #000000;
JSON
{
  "hex": "#80271f",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.948,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.12416,
    "h": 28.8
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#80271F
secondary
#48AAB3
accent
#D7E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #80271F

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

Preview Lab → · Contrast checker → · Palette generator →

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