#8F1828#8F1828

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

Color values

HEX#8F1828
RGBrgb(143, 24, 40)
HSLhsl(352, 71%, 33%)
HSVhsv(352, 83%, 56%)
CMYKcmyk(0%, 83.2%, 72%, 43.9%)
CIE-LABlab(30.99, 48.55, 23.01)
CIE-LCHlch(30.99, 53.73, 25.36°)
OKLaboklab(42.4% 0.1429 0.0532)
OKLCHoklch(42.4% 0.153 20.4)
XYZxyz(12.0387, 6.6480, 2.6564)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1828 #188F7F
analogous
#8F1863 #8F1828 #8F4418
triadic
#8F1828 #288F18 #18288F
tetradic
#8F1828 #638F18 #188F7F #44188F
square
#8F1828 #638F18 #188F7F #44188F
split-complementary
#8F1828 #188F44 #18638F
monochromatic
#26060B #5B0F19 #8F1828 #C32137 #DF4257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1828#FFFFFF#000000##FFFFFF
##8F18281.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)
#3D3928
Deuteranopia (green-blind)
#5B5224
Tritanopia (blue-blind)
#9E001F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1828;
/* rgb */ color: rgb(143, 24, 40);
/* oklch */ color: oklch(42.4% 0.153 20.4);
Tailwind
colors: {
  custom: {
    50: '#b86361',
    500: '#8f1828',
    950: '#000000',
  },
}
SCSS
$custom: #8f1828;
$custom-light: #b86361;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1828",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 351.933,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.15252,
    "h": 20.4
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#8F1828
secondary
#43C0AF
accent
#EED63A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8F1828

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

Preview Lab → · Contrast checker → · Palette generator →

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