#8F182F#8F182F

#8F182F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.152 H 16.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8F182F
RGBrgb(143, 24, 47)
HSLhsl(348, 71%, 33%)
HSVhsv(348, 83%, 56%)
CMYKcmyk(0%, 83.2%, 67.1%, 43.9%)
CIE-LABlab(31.11, 48.93, 18.62)
CIE-LCHlch(31.11, 52.35, 20.83°)
OKLaboklab(42.53% 0.1458 0.0444)
OKLCHoklch(42.53% 0.152 16.9)
XYZxyz(12.1688, 6.7000, 3.3413)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F182F #188F78
analogous
#8F186B #8F182F #8F3C18
triadic
#8F182F #2F8F18 #182F8F
tetradic
#8F182F #6B8F18 #188F78 #3C188F
square
#8F182F #6B8F18 #188F78 #3C188F
split-complementary
#8F182F #188F3C #186B8F
monochromatic
#26060D #5B0F1E #8F182F #C32140 #DF4260

Accessibility & contrast

On white

8.98
#8F182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8F182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F182F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F182F#FFFFFF#000000##FFFFFF
##8F182F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f182f;
/* rgb */ color: rgb(143, 24, 47);
/* oklch */ color: oklch(42.5% 0.152 16.9);
Tailwind
colors: {
  custom: {
    50: '#b76367',
    500: '#8f182f',
    950: '#000000',
  },
}
SCSS
$custom: #8f182f;
$custom-light: #b76367;
$custom-dark: #000000;
JSON
{
  "hex": "#8f182f",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 348.403,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.15236,
    "h": 16.9
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#8F182F
secondary
#43C0A8
accent
#EECB3A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8F182F

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

Preview Lab → · Contrast checker → · Palette generator →

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