#8F1218#8F1218

#8F1218 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.8% C 0.158 H 25.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8F1218
RGBrgb(143, 18, 24)
HSLhsl(357, 78%, 32%)
HSVhsv(357, 87%, 56%)
CMYKcmyk(0%, 87.4%, 83.2%, 43.9%)
CIE-LABlab(30.25, 49.42, 32.11)
CIE-LCHlch(30.25, 58.94, 33.02°)
OKLaboklab(41.79% 0.142 0.0687)
OKLCHoklch(41.79% 0.158 25.8)
XYZxyz(11.7103, 6.3402, 1.4712)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1218 #128F89
analogous
#8F1257 #8F1218 #8F4B12
triadic
#8F1218 #188F12 #12188F
tetradic
#8F1218 #578F12 #128F89 #4B128F
square
#8F1218 #578F12 #128F89 #4B128F
split-complementary
#8F1218 #128F4B #12578F
monochromatic
#220406 #590B0F #8F1218 #C51921 #E6363E

Accessibility & contrast

On white

9.26
#8F1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8F1218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1218
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1218#FFFFFF#000000##FFFFFF
##8F12181.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#9E0016
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8f1218;
/* rgb */ color: rgb(143, 18, 24);
/* oklch */ color: oklch(41.8% 0.158 25.8);
Tailwind
colors: {
  custom: {
    50: '#b96055',
    500: '#8f1218',
    950: '#000000',
  },
}
SCSS
$custom: #8f1218;
$custom-light: #b96055;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1218",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 357.12,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.15773,
    "h": 25.8
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#8F1218
secondary
#3AC3BD
accent
#F4EB34
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F1218

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

Preview Lab → · Contrast checker → · Palette generator →

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