#8F162F#8F162F

#8F162F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.154 H 16.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8F162F
RGBrgb(143, 22, 47)
HSLhsl(348, 73%, 32%)
HSVhsv(348, 85%, 56%)
CMYKcmyk(0%, 84.6%, 67.1%, 43.9%)
CIE-LABlab(30.93, 49.46, 18.38)
CIE-LCHlch(30.93, 52.76, 20.38°)
OKLaboklab(42.4% 0.1475 0.0438)
OKLCHoklch(42.4% 0.154 16.5)
XYZxyz(12.1290, 6.6206, 3.3280)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F162F #168F76
analogous
#8F166C #8F162F #8F3916
triadic
#8F162F #2F8F16 #162F8F
tetradic
#8F162F #6C8F16 #168F76 #39168F
square
#8F162F #6C8F16 #168F76 #39168F
split-complementary
#8F162F #168F39 #166C8F
monochromatic
#25060C #5A0E1E #8F162F #C41E40 #E13E60

Accessibility & contrast

On white

9.04
#8F162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8F162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F162F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F162F#FFFFFF#000000##FFFFFF
##8F162F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B392F
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f162f;
/* rgb */ color: rgb(143, 22, 47);
/* oklch */ color: oklch(42.4% 0.154 16.5);
Tailwind
colors: {
  custom: {
    50: '#b76267',
    500: '#8f162f',
    950: '#000000',
  },
}
SCSS
$custom: #8f162f;
$custom-light: #b76267;
$custom-dark: #000000;
JSON
{
  "hex": "#8f162f",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 347.603,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.15385,
    "h": 16.5
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#8F162F
secondary
#3FC1A7
accent
#F0CA38
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8F162F

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

Preview Lab → · Contrast checker → · Palette generator →

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