#8A2718#8A2718

#8A2718 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.6% C 0.137 H 31.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2718
RGBrgb(138, 39, 24)
HSLhsl(8, 70%, 32%)
HSVhsv(8, 83%, 54%)
CMYKcmyk(0%, 71.7%, 82.6%, 45.9%)
CIE-LABlab(31.63, 41.09, 33.12)
CIE-LCHlch(31.63, 52.77, 38.87°)
OKLaboklab(42.63% 0.1164 0.0714)
OKLCHoklch(42.63% 0.137 31.5)
XYZxyz(11.3729, 6.9220, 1.6012)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2718 #187B8A
analogous
#8A1842 #8A2718 #8A6018
triadic
#8A2718 #188A27 #27188A
tetradic
#8A2718 #428A18 #187B8A #60188A
square
#8A2718 #428A18 #187B8A #60188A
split-complementary
#8A2718 #188A60 #18428A
monochromatic
#220A06 #56180F #8A2718 #BE3621 #DE543F

Accessibility & contrast

On white

8.81
#8A2718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A2718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2718
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2718#FFFFFF#000000##FFFFFF
##8A27181.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D15
Deuteranopia (green-blind)
#5D5213
Tritanopia (blue-blind)
#980124
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2718;
/* rgb */ color: rgb(138, 39, 24);
/* oklch */ color: oklch(42.6% 0.137 31.5);
Tailwind
colors: {
  custom: {
    50: '#b46856',
    500: '#8a2718',
    950: '#000000',
  },
}
SCSS
$custom: #8a2718;
$custom-light: #b46856;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2718",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 7.895,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.13658,
    "h": 31.5
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#8A2718
secondary
#40ADBD
accent
#D6ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2718

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

Preview Lab → · Contrast checker → · Palette generator →

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