#8D271C#8D271C

#8D271C is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.2% C 0.139 H 29.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8D271C
RGBrgb(141, 39, 28)
HSLhsl(6, 67%, 33%)
HSVhsv(6, 80%, 55%)
CMYKcmyk(0%, 72.3%, 80.1%, 44.7%)
CIE-LABlab(32.26, 42.28, 31.69)
CIE-LCHlch(32.26, 52.84, 36.85°)
OKLaboklab(43.22% 0.1206 0.0693)
OKLCHoklch(43.22% 0.139 29.9)
XYZxyz(11.9210, 7.1994, 1.8603)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D271C #1C828D
analogous
#8D1C49 #8D271C #8D5F1C
triadic
#8D271C #1C8D27 #271C8D
tetradic
#8D271C #498D1C #1C828D #5F1C8D
square
#8D271C #498D1C #1C828D #5F1C8D
split-complementary
#8D271C #1C8D5F #1C498D
monochromatic
#270B08 #5A1912 #8D271C #C03526 #DB5749

Accessibility & contrast

On white

8.61
#8D271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8D271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D271C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D271C#FFFFFF#000000##FFFFFF
##8D271C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1A
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d271c;
/* rgb */ color: rgb(141, 39, 28);
/* oklch */ color: oklch(43.2% 0.139 29.9);
Tailwind
colors: {
  custom: {
    50: '#b66859',
    500: '#8d271c',
    950: '#000000',
  },
}
SCSS
$custom: #8d271c;
$custom-light: #b66859;
$custom-dark: #000000;
JSON
{
  "hex": "#8d271c",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.841,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.13914,
    "h": 29.9
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#8D271C
secondary
#48B1BD
accent
#D9EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8D271C

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

Preview Lab → · Contrast checker → · Palette generator →

#8D271C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva