#8F1827#8F1827

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

Color values

HEX#8F1827
RGBrgb(143, 24, 39)
HSLhsl(352, 71%, 33%)
HSVhsv(352, 83%, 56%)
CMYKcmyk(0%, 83.2%, 72.7%, 43.9%)
CIE-LABlab(30.98, 48.50, 23.64)
CIE-LCHlch(30.98, 53.96, 25.98°)
OKLaboklab(42.39% 0.1426 0.0544)
OKLCHoklch(42.39% 0.153 20.9)
XYZxyz(12.0219, 6.6413, 2.5680)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1827 #188F80
analogous
#8F1862 #8F1827 #8F4418
triadic
#8F1827 #278F18 #18278F
tetradic
#8F1827 #628F18 #188F80 #44188F
square
#8F1827 #628F18 #188F80 #44188F
split-complementary
#8F1827 #188F44 #18628F
monochromatic
#26060A #5B0F19 #8F1827 #C32135 #DF4256

Accessibility & contrast

On white

9.02
#8F1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8F1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1827
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1827#FFFFFF#000000##FFFFFF
##8F18271.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#9E001F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1827;
/* rgb */ color: rgb(143, 24, 39);
/* oklch */ color: oklch(42.4% 0.153 20.9);
Tailwind
colors: {
  custom: {
    50: '#b86361',
    500: '#8f1827',
    950: '#000000',
  },
}
SCSS
$custom: #8f1827;
$custom-light: #b86361;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1827",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 352.437,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.15257,
    "h": 20.9
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#8F1827
secondary
#43C0B0
accent
#EED73A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8F1827

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

Preview Lab → · Contrast checker → · Palette generator →

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