#8C2118#8C2118

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

Color values

HEX#8C2118
RGBrgb(140, 33, 24)
HSLhsl(5, 71%, 32%)
HSVhsv(5, 83%, 55%)
CMYKcmyk(0%, 76.4%, 82.9%, 45.1%)
CIE-LABlab(31.19, 44.09, 32.82)
CIE-LCHlch(31.19, 54.96, 36.66°)
OKLaboklab(42.37% 0.1256 0.0705)
OKLCHoklch(42.37% 0.144 29.3)
XYZxyz(11.5253, 6.7309, 1.5563)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2118 #18838C
analogous
#8C1849 #8C2118 #8C5B18
triadic
#8C2118 #188C21 #21188C
tetradic
#8C2118 #498C18 #18838C #5B188C
square
#8C2118 #498C18 #18838C #5B188C
split-complementary
#8C2118 #188C5B #18498C
monochromatic
#240806 #58150F #8C2118 #C02D21 #DE4C40

Accessibility & contrast

On white

8.95
#8C2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C2118
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2118#FFFFFF#000000##FFFFFF
##8C21181.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A16
Deuteranopia (green-blind)
#5C5213
Tritanopia (blue-blind)
#9B0020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c2118;
/* rgb */ color: rgb(140, 33, 24);
/* oklch */ color: oklch(42.4% 0.144 29.3);
Tailwind
colors: {
  custom: {
    50: '#b66556',
    500: '#8c2118',
    950: '#000000',
  },
}
SCSS
$custom: #8c2118;
$custom-light: #b66556;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2118",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.655,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.14404,
    "h": 29.3
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#8C2118
secondary
#41B5BF
accent
#E0ED3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C2118

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

Preview Lab → · Contrast checker → · Palette generator →

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