#8C1B2F#8C1B2F

#8C1B2F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.147 H 17.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8C1B2F
RGBrgb(140, 27, 47)
HSLhsl(349, 68%, 33%)
HSVhsv(349, 81%, 55%)
CMYKcmyk(0%, 80.7%, 66.4%, 45.1%)
CIE-LABlab(30.80, 47.16, 18.09)
CIE-LCHlch(30.80, 50.51, 20.98°)
OKLaboklab(42.19% 0.1405 0.0433)
OKLCHoklch(42.19% 0.147 17.1)
XYZxyz(11.7215, 6.5663, 3.3390)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1B2F #1B8C78
analogous
#8C1B67 #8C1B2F #8C401B
triadic
#8C1B2F #2F8C1B #1B2F8C
tetradic
#8C1B2F #678C1B #1B8C78 #401B8C
square
#8C1B2F #678C1B #1B8C78 #401B8C
split-complementary
#8C1B2F #1B8C40 #1B678C
monochromatic
#25070D #59111E #8C1B2F #BF2540 #DB4660

Accessibility & contrast

On white

9.08
#8C1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8C1B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1B2F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1B2F#FFFFFF#000000##FFFFFF
##8C1B2F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#9A0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c1b2f;
/* rgb */ color: rgb(140, 27, 47);
/* oklch */ color: oklch(42.2% 0.147 17.1);
Tailwind
colors: {
  custom: {
    50: '#b56367',
    500: '#8c1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8c1b2f;
$custom-light: #b56367;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1b2f",
  "rgb": {
    "r": 140,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 349.381,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.14703,
    "h": 17.1
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#8C1B2F
secondary
#46BDA8
accent
#EBCC3D
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8C1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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