#8C2F17#8C2F17

#8C2F17 is a dark, vivid red. Relative luminance 0.077; OKLCH L 43.9% C 0.131 H 35.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8C2F17
RGBrgb(140, 47, 23)
HSLhsl(12, 72%, 32%)
HSVhsv(12, 84%, 55%)
CMYKcmyk(0%, 66.4%, 83.6%, 45.1%)
CIE-LABlab(33.29, 38.29, 35.39)
CIE-LCHlch(33.29, 52.14, 42.75°)
OKLaboklab(43.95% 0.1074 0.0758)
OKLCHoklch(43.95% 0.131 35.2)
XYZxyz(11.9877, 7.6721, 1.6601)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2F17 #17748C
analogous
#8C1739 #8C2F17 #8C6A17
triadic
#8C2F17 #178C2F #2F178C
tetradic
#8C2F17 #398C17 #17748C #6A178C
square
#8C2F17 #398C17 #17748C #6A178C
split-complementary
#8C2F17 #178C6A #17398C
monochromatic
#230C06 #571D0E #8C2F17 #C14120 #DF5F3E

Accessibility & contrast

On white

8.29
#8C2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8C2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2F17
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2F17#FFFFFF#000000##FFFFFF
##8C2F171.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4113
Deuteranopia (green-blind)
#615613
Tritanopia (blue-blind)
#9B142A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c2f17;
/* rgb */ color: rgb(140, 47, 23);
/* oklch */ color: oklch(43.9% 0.131 35.2);
Tailwind
colors: {
  custom: {
    50: '#b56c56',
    500: '#8c2f17',
    950: '#000000',
  },
}
SCSS
$custom: #8c2f17;
$custom-light: #b56c56;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2f17",
  "rgb": {
    "r": 140,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 12.308,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.13145,
    "h": 35.2
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#8C2F17
secondary
#3FA5BF
accent
#C9EF39
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8C2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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