#8C1F2F#8C1F2F

#8C1F2F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.143 H 18.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8C1F2F
RGBrgb(140, 31, 47)
HSLhsl(351, 64%, 34%)
HSVhsv(351, 78%, 55%)
CMYKcmyk(0%, 77.9%, 66.4%, 45.1%)
CIE-LABlab(31.26, 45.86, 18.68)
CIE-LCHlch(31.26, 49.52, 22.16°)
OKLaboklab(42.53% 0.1364 0.0446)
OKLCHoklch(42.53% 0.143 18.1)
XYZxyz(11.8196, 6.7624, 3.3717)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1F2F #1F8C7C
analogous
#8C1F65 #8C1F2F #8C451F
triadic
#8C1F2F #2F8C1F #1F2F8C
tetradic
#8C1F2F #658C1F #1F8C7C #451F8C
square
#8C1F2F #658C1F #1F8C7C #451F8C
split-complementary
#8C1F2F #1F8C45 #1F658C
monochromatic
#28090D #5A141E #8C1F2F #BE2A40 #D84E62

Accessibility & contrast

On white

8.93
#8C1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1F2F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1F2F#FFFFFF#000000##FFFFFF
##8C1F2F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#9A0026
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8c1f2f;
/* rgb */ color: rgb(140, 31, 47);
/* oklch */ color: oklch(42.5% 0.143 18.1);
Tailwind
colors: {
  custom: {
    50: '#b46567',
    500: '#8c1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8c1f2f;
$custom-light: #b46567;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1f2f",
  "rgb": {
    "r": 140,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 351.193,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.14346,
    "h": 18.1
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#8C1F2F
secondary
#4CBBAA
accent
#E7CE41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8C1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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