#8D271B#8D271B

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

Color values

HEX#8D271B
RGBrgb(141, 39, 27)
HSLhsl(6, 68%, 33%)
HSVhsv(6, 81%, 55%)
CMYKcmyk(0%, 72.3%, 80.9%, 44.7%)
CIE-LABlab(32.25, 42.24, 32.25)
CIE-LCHlch(32.25, 53.15, 37.36°)
OKLaboklab(43.21% 0.1203 0.0702)
OKLCHoklch(43.21% 0.139 30.3)
XYZxyz(11.9092, 7.1947, 1.7983)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D271B #1B818D
analogous
#8D1B48 #8D271B #8D601B
triadic
#8D271B #1B8D27 #271B8D
tetradic
#8D271B #488D1B #1B818D #601B8D
square
#8D271B #488D1B #1B818D #601B8D
split-complementary
#8D271B #1B8D60 #1B488D
monochromatic
#260B07 #5A1911 #8D271B #C03525 #DC5647

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D271B#FFFFFF#000000##FFFFFF
##8D271B1.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)
#453E19
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d271b;
/* rgb */ color: rgb(141, 39, 27);
/* oklch */ color: oklch(43.2% 0.139 30.3);
Tailwind
colors: {
  custom: {
    50: '#b66858',
    500: '#8d271b',
    950: '#000000',
  },
}
SCSS
$custom: #8d271b;
$custom-light: #b66858;
$custom-dark: #000000;
JSON
{
  "hex": "#8d271b",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 6.316,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.13931,
    "h": 30.3
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#8D271B
secondary
#46B1BD
accent
#D8EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8D271B

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

Preview Lab → · Contrast checker → · Palette generator →

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