#8C1817#8C1817

#8C1817 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.151 H 27.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#8C1817
RGBrgb(140, 24, 23)
HSLhsl(1, 72%, 32%)
HSVhsv(1, 84%, 55%)
CMYKcmyk(0%, 82.9%, 83.6%, 45.1%)
CIE-LABlab(30.14, 46.97, 32.36)
CIE-LCHlch(30.14, 57.04, 34.57°)
OKLaboklab(41.59% 0.1344 0.0691)
OKLCHoklch(41.59% 0.151 27.2)
XYZxyz(11.2979, 6.2924, 1.4301)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1817 #178B8C
analogous
#8C1751 #8C1817 #8C5317
triadic
#8C1817 #178C18 #18178C
tetradic
#8C1817 #518C17 #178B8C #53178C
square
#8C1817 #518C17 #178B8C #53178C
split-complementary
#8C1817 #178C53 #17518C
monochromatic
#230606 #570F0E #8C1817 #C12120 #DF3F3E

Accessibility & contrast

On white

9.30
#8C1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8C1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1817
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1817#FFFFFF#000000##FFFFFF
##8C18171.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#5A5011
Tritanopia (blue-blind)
#9B001A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8c1817;
/* rgb */ color: rgb(140, 24, 23);
/* oklch */ color: oklch(41.6% 0.151 27.2);
Tailwind
colors: {
  custom: {
    50: '#b76255',
    500: '#8c1817',
    950: '#000000',
  },
}
SCSS
$custom: #8c1817;
$custom-light: #b76255;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1817",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.513,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4159,
    "c": 0.15115,
    "h": 27.2
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#8C1817
secondary
#3FBEBF
accent
#EDEF39
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8C1817

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

Preview Lab → · Contrast checker → · Palette generator →

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