#8C1D2F#8C1D2F

#8C1D2F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.145 H 17.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8C1D2F
RGBrgb(140, 29, 47)
HSLhsl(350, 66%, 33%)
HSVhsv(350, 79%, 55%)
CMYKcmyk(0%, 79.3%, 66.4%, 45.1%)
CIE-LABlab(31.02, 46.53, 18.37)
CIE-LCHlch(31.02, 50.02, 21.55°)
OKLaboklab(42.36% 0.1385 0.0439)
OKLCHoklch(42.36% 0.145 17.6)
XYZxyz(11.7689, 6.6612, 3.3548)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1D2F #1D8C7A
analogous
#8C1D66 #8C1D2F #8C421D
triadic
#8C1D2F #2F8C1D #1D2F8C
tetradic
#8C1D2F #668C1D #1D8C7A #421D8C
square
#8C1D2F #668C1D #1D8C7A #421D8C
split-complementary
#8C1D2F #1D8C42 #1D668C
monochromatic
#27080D #59121E #8C1D2F #BF2840 #D94A61

Accessibility & contrast

On white

9.01
#8C1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1D2F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1D2F#FFFFFF#000000##FFFFFF
##8C1D2F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#9A0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c1d2f;
/* rgb */ color: rgb(140, 29, 47);
/* oklch */ color: oklch(42.4% 0.145 17.6);
Tailwind
colors: {
  custom: {
    50: '#b56467',
    500: '#8c1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #8c1d2f;
$custom-light: #b56467;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1d2f",
  "rgb": {
    "r": 140,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 350.27,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.14529,
    "h": 17.6
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#8C1D2F
secondary
#49BCA9
accent
#E9CD3F
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8C1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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