#8D271E#8D271E

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

Color values

HEX#8D271E
RGBrgb(141, 39, 30)
HSLhsl(5, 65%, 34%)
HSVhsv(5, 79%, 55%)
CMYKcmyk(0%, 72.3%, 78.7%, 44.7%)
CIE-LABlab(32.28, 42.36, 30.55)
CIE-LCHlch(32.28, 52.23, 35.80°)
OKLaboklab(43.25% 0.1213 0.0675)
OKLCHoklch(43.25% 0.139 29.1)
XYZxyz(11.9457, 7.2093, 1.9906)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D271E #1E848D
analogous
#8D1E4C #8D271E #8D5E1E
triadic
#8D271E #1E8D27 #271E8D
tetradic
#8D271E #4C8D1E #1E848D #5E1E8D
square
#8D271E #4C8D1E #1E848D #5E1E8D
split-complementary
#8D271E #1E8D5E #1E4C8D
monochromatic
#280B09 #5B1913 #8D271E #BF3529 #D9584C

Accessibility & contrast

On white

8.60
#8D271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D271E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D271E#FFFFFF#000000##FFFFFF
##8D271E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1C
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d271e;
/* rgb */ color: rgb(141, 39, 30);
/* oklch */ color: oklch(43.2% 0.139 29.1);
Tailwind
colors: {
  custom: {
    50: '#b6685a',
    500: '#8d271e',
    950: '#000000',
  },
}
SCSS
$custom: #8d271e;
$custom-light: #b6685a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d271e",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.865,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43245,
    "c": 0.1388,
    "h": 29.1
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#8D271E
secondary
#4BB2BC
accent
#DAE840
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8D271E

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

Preview Lab → · Contrast checker → · Palette generator →

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