#8C1F2D#8C1F2D

#8C1F2D is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.144 H 19.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8C1F2D
RGBrgb(140, 31, 45)
HSLhsl(352, 64%, 34%)
HSVhsv(352, 78%, 55%)
CMYKcmyk(0%, 77.9%, 67.9%, 45.1%)
CIE-LABlab(31.22, 45.74, 19.93)
CIE-LCHlch(31.22, 49.90, 23.54°)
OKLaboklab(42.49% 0.1355 0.0472)
OKLCHoklch(42.49% 0.144 19.2)
XYZxyz(11.7801, 6.7467, 3.1641)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1F2D #1F8C7E
analogous
#8C1F63 #8C1F2D #8C471F
triadic
#8C1F2D #2D8C1F #1F2D8C
tetradic
#8C1F2D #638C1F #1F8C7E #471F8C
square
#8C1F2D #638C1F #1F8C7E #471F8C
split-complementary
#8C1F2D #1F8C47 #1F638C
monochromatic
#28090D #5A141D #8C1F2D #BE2A3D #D84E5F

Accessibility & contrast

On white

8.94
#8C1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8C1F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1F2D
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1F2D#FFFFFF#000000##FFFFFF
##8C1F2D1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#9A0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c1f2d;
/* rgb */ color: rgb(140, 31, 45);
/* oklch */ color: oklch(42.5% 0.144 19.2);
Tailwind
colors: {
  custom: {
    50: '#b56565',
    500: '#8c1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8c1f2d;
$custom-light: #b56565;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1f2d",
  "rgb": {
    "r": 140,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 352.294,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.14352,
    "h": 19.2
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#8C1F2D
secondary
#4CBBAC
accent
#E7D141
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8C1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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