#8A2E17#8A2E17

#8A2E17 is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.5% C 0.130 H 35.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A2E17
RGBrgb(138, 46, 23)
HSLhsl(12, 71%, 32%)
HSVhsv(12, 83%, 54%)
CMYKcmyk(0%, 66.7%, 83.3%, 45.9%)
CIE-LABlab(32.75, 38.00, 34.74)
CIE-LCHlch(32.75, 51.49, 42.43°)
OKLaboklab(43.47% 0.1067 0.0746)
OKLCHoklch(43.47% 0.13 35)
XYZxyz(11.6142, 7.4208, 1.6313)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E17 #17738A
analogous
#8A173A #8A2E17 #8A6817
triadic
#8A2E17 #178A2E #2E178A
tetradic
#8A2E17 #3A8A17 #17738A #68178A
square
#8A2E17 #3A8A17 #17738A #68178A
split-complementary
#8A2E17 #178A68 #173A8A
monochromatic
#210B06 #561D0E #8A2E17 #BE3F20 #DF5D3D

Accessibility & contrast

On white

8.45
#8A2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A2E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E17
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E17#FFFFFF#000000##FFFFFF
##8A2E171.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484013
Deuteranopia (green-blind)
#5F5513
Tritanopia (blue-blind)
#98142A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2e17;
/* rgb */ color: rgb(138, 46, 23);
/* oklch */ color: oklch(43.5% 0.130 35.0);
Tailwind
colors: {
  custom: {
    50: '#b46b56',
    500: '#8a2e17',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e17;
$custom-light: #b46b56;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e17",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 12,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43467,
    "c": 0.13018,
    "h": 35
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#8A2E17
secondary
#3FA4BE
accent
#CAEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #8A2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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