#8F1A2A#8F1A2A

#8F1A2A is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.6% C 0.151 H 19.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8F1A2A
RGBrgb(143, 26, 42)
HSLhsl(352, 69%, 33%)
HSVhsv(352, 82%, 56%)
CMYKcmyk(0%, 81.8%, 70.6%, 43.9%)
CIE-LABlab(31.23, 48.09, 22.01)
CIE-LCHlch(31.23, 52.88, 24.59°)
OKLaboklab(42.59% 0.1419 0.0513)
OKLCHoklch(42.59% 0.151 19.9)
XYZxyz(12.1164, 6.7475, 2.8545)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A2A #1A8F7F
analogous
#8F1A64 #8F1A2A #8F441A
triadic
#8F1A2A #2A8F1A #1A2A8F
tetradic
#8F1A2A #648F1A #1A8F7F #441A8F
square
#8F1A2A #648F1A #1A8F7F #441A8F
split-complementary
#8F1A2A #1A8F44 #1A648F
monochromatic
#27070C #5B111B #8F1A2A #C32339 #DD465B

Accessibility & contrast

On white

8.94
#8F1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F1A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A2A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A2A#FFFFFF#000000##FFFFFF
##8F1A2A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2A
Deuteranopia (green-blind)
#5B5226
Tritanopia (blue-blind)
#9E0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1a2a;
/* rgb */ color: rgb(143, 26, 42);
/* oklch */ color: oklch(42.6% 0.151 19.9);
Tailwind
colors: {
  custom: {
    50: '#b76363',
    500: '#8f1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a2a;
$custom-light: #b76363;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a2a",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 351.795,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.15091,
    "h": 19.9
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#8F1A2A
secondary
#46BFAE
accent
#ECD43C
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8F1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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