#8D271F#8D271F

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

Color values

HEX#8D271F
RGBrgb(141, 39, 31)
HSLhsl(4, 64%, 34%)
HSVhsv(4, 78%, 55%)
CMYKcmyk(0%, 72.3%, 78%, 44.7%)
CIE-LABlab(32.29, 42.40, 29.98)
CIE-LCHlch(32.29, 51.92, 35.26°)
OKLaboklab(43.26% 0.1216 0.0665)
OKLCHoklch(43.26% 0.139 28.7)
XYZxyz(11.9587, 7.2145, 2.0589)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D271F #1F858D
analogous
#8D1F4E #8D271F #8D5E1F
triadic
#8D271F #1F8D27 #271F8D
tetradic
#8D271F #4E8D1F #1F858D #5E1F8D
square
#8D271F #4E8D1F #1F858D #5E1F8D
split-complementary
#8D271F #1F8D5E #1F4E8D
monochromatic
#290B09 #5B1914 #8D271F #BF352A #D8584E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D271F#FFFFFF#000000##FFFFFF
##8D271F1.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)
#453E1D
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d271f;
/* rgb */ color: rgb(141, 39, 31);
/* oklch */ color: oklch(43.3% 0.139 28.7);
Tailwind
colors: {
  custom: {
    50: '#b6685b',
    500: '#8d271f',
    950: '#000000',
  },
}
SCSS
$custom: #8d271f;
$custom-light: #b6685b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d271f",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.13863,
    "h": 28.7
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#8D271F
secondary
#4DB3BB
accent
#DBE741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8D271F

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

Preview Lab → · Contrast checker → · Palette generator →

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