#8C1B2D#8C1B2D

#8C1B2D is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.1% C 0.147 H 18.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8C1B2D
RGBrgb(140, 27, 45)
HSLhsl(350, 68%, 33%)
HSVhsv(350, 81%, 55%)
CMYKcmyk(0%, 80.7%, 67.9%, 45.1%)
CIE-LABlab(30.76, 47.04, 19.35)
CIE-LCHlch(30.76, 50.86, 22.36°)
OKLaboklab(42.15% 0.1397 0.0459)
OKLCHoklch(42.15% 0.147 18.2)
XYZxyz(11.6821, 6.5506, 3.1314)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1B2D #1B8C7A
analogous
#8C1B66 #8C1B2D #8C411B
triadic
#8C1B2D #2D8C1B #1B2D8C
tetradic
#8C1B2D #668C1B #1B8C7A #411B8C
square
#8C1B2D #668C1B #1B8C7A #411B8C
split-complementary
#8C1B2D #1B8C41 #1B668C
monochromatic
#25070C #59111D #8C1B2D #BF253D #DB465E

Accessibility & contrast

On white

9.09
#8C1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1B2D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1B2D#FFFFFF#000000##FFFFFF
##8C1B2D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392D
Deuteranopia (green-blind)
#59512A
Tritanopia (blue-blind)
#9A0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c1b2d;
/* rgb */ color: rgb(140, 27, 45);
/* oklch */ color: oklch(42.1% 0.147 18.2);
Tailwind
colors: {
  custom: {
    50: '#b56365',
    500: '#8c1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #8c1b2d;
$custom-light: #b56365;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1b2d",
  "rgb": {
    "r": 140,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 350.442,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.14703,
    "h": 18.2
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#8C1B2D
secondary
#46BDAA
accent
#EBCF3D
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8C1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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