#8F271D#8F271D

#8F271D is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.6% C 0.141 H 29.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8F271D
RGBrgb(143, 39, 29)
HSLhsl(5, 66%, 34%)
HSVhsv(5, 80%, 56%)
CMYKcmyk(0%, 72.7%, 79.7%, 43.9%)
CIE-LABlab(32.66, 43.00, 31.65)
CIE-LCHlch(32.66, 53.40, 36.36°)
OKLaboklab(43.6% 0.1229 0.0694)
OKLCHoklch(43.6% 0.141 29.5)
XYZxyz(12.2764, 7.3813, 1.9405)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F271D #1D858F
analogous
#8F1D4C #8F271D #8F601D
triadic
#8F271D #1D8F27 #271D8F
tetradic
#8F271D #4C8F1D #1D858F #601D8F
square
#8F271D #4C8F1D #1D858F #601D8F
split-complementary
#8F271D #1D8F60 #1D4C8F
monochromatic
#290B08 #5C1913 #8F271D #C23527 #DB584C

Accessibility & contrast

On white

8.48
#8F271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8F271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F271D
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F271D#FFFFFF#000000##FFFFFF
##8F271D1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1B
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#9E0026
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f271d;
/* rgb */ color: rgb(143, 39, 29);
/* oklch */ color: oklch(43.6% 0.141 29.5);
Tailwind
colors: {
  custom: {
    50: '#b8695a',
    500: '#8f271d',
    950: '#000000',
  },
}
SCSS
$custom: #8f271d;
$custom-light: #b8695a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f271d",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 5.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.14113,
    "h": 29.5
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#8F271D
secondary
#4BB3BD
accent
#DAE93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8F271D

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

Preview Lab → · Contrast checker → · Palette generator →

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