#8F1B2A#8F1B2A

#8F1B2A is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.7% C 0.150 H 20.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8F1B2A
RGBrgb(143, 27, 42)
HSLhsl(352, 68%, 33%)
HSVhsv(352, 81%, 56%)
CMYKcmyk(0%, 81.1%, 70.6%, 43.9%)
CIE-LABlab(31.33, 47.79, 22.14)
CIE-LCHlch(31.33, 52.67, 24.86°)
OKLaboklab(42.66% 0.141 0.0516)
OKLCHoklch(42.66% 0.15 20.1)
XYZxyz(12.1389, 6.7926, 2.8620)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B2A #1B8F80
analogous
#8F1B64 #8F1B2A #8F461B
triadic
#8F1B2A #2A8F1B #1B2A8F
tetradic
#8F1B2A #648F1B #1B8F80 #461B8F
square
#8F1B2A #648F1B #1B8F80 #461B8F
split-complementary
#8F1B2A #1B8F46 #1B648F
monochromatic
#28080C #5C111B #8F1B2A #C22539 #DC485B

Accessibility & contrast

On white

8.91
#8F1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8F1B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B2A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B2A#FFFFFF#000000##FFFFFF
##8F1B2A1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2A
Deuteranopia (green-blind)
#5B5226
Tritanopia (blue-blind)
#9E0022
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1b2a;
/* rgb */ color: rgb(143, 27, 42);
/* oklch */ color: oklch(42.7% 0.150 20.1);
Tailwind
colors: {
  custom: {
    50: '#b76463',
    500: '#8f1b2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b2a;
$custom-light: #b76463;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b2a",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 352.241,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42664,
    "c": 0.15011,
    "h": 20.1
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#8F1B2A
secondary
#48BEAF
accent
#EBD53D
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8F1B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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