#8F271F#8F271F

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

Color values

HEX#8F271F
RGBrgb(143, 39, 31)
HSLhsl(4, 64%, 34%)
HSVhsv(4, 78%, 56%)
CMYKcmyk(0%, 72.7%, 78.3%, 43.9%)
CIE-LABlab(32.68, 43.08, 30.51)
CIE-LCHlch(32.68, 52.79, 35.31°)
OKLaboklab(43.62% 0.1236 0.0675)
OKLCHoklch(43.62% 0.141 28.7)
XYZxyz(12.3019, 7.3915, 2.0750)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F271F #1F878F
analogous
#8F1F4F #8F271F #8F5F1F
triadic
#8F271F #1F8F27 #271F8F
tetradic
#8F271F #4F8F1F #1F878F #5F1F8F
square
#8F271F #4F8F1F #1F878F #5F1F8F
split-complementary
#8F271F #1F8F5F #1F4F8F
monochromatic
#2A0C09 #5D1914 #8F271F #C1352A #D9594F

Accessibility & contrast

On white

8.47
#8F271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F271F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F271F#FFFFFF#000000##FFFFFF
##8F271F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f271f;
/* rgb */ color: rgb(143, 39, 31);
/* oklch */ color: oklch(43.6% 0.141 28.7);
Tailwind
colors: {
  custom: {
    50: '#b8695b',
    500: '#8f271f',
    950: '#000000',
  },
}
SCSS
$custom: #8f271f;
$custom-light: #b8695b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f271f",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.286,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.14079,
    "h": 28.7
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#8F271F
secondary
#4EB4BC
accent
#DBE740
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8F271F

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

Preview Lab → · Contrast checker → · Palette generator →

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