#8A2317#8A2317

#8A2317 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.140 H 30.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2317
RGBrgb(138, 35, 23)
HSLhsl(6, 71%, 32%)
HSVhsv(6, 83%, 54%)
CMYKcmyk(0%, 74.6%, 83.3%, 45.9%)
CIE-LABlab(31.04, 42.65, 33.10)
CIE-LCHlch(31.04, 53.98, 37.81°)
OKLaboklab(42.19% 0.1211 0.071)
OKLCHoklch(42.19% 0.14 30.4)
XYZxyz(11.2383, 6.6689, 1.5059)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2317 #177E8A
analogous
#8A1745 #8A2317 #8A5D17
triadic
#8A2317 #178A23 #23178A
tetradic
#8A2317 #458A17 #177E8A #5D178A
square
#8A2317 #458A17 #177E8A #5D178A
split-complementary
#8A2317 #178A5D #17458A
monochromatic
#210806 #56160E #8A2317 #BE3020 #DF4E3D

Accessibility & contrast

On white

9.00
#8A2317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A2317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2317
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2317#FFFFFF#000000##FFFFFF
##8A23171.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B14
Deuteranopia (green-blind)
#5C5112
Tritanopia (blue-blind)
#990021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2317;
/* rgb */ color: rgb(138, 35, 23);
/* oklch */ color: oklch(42.2% 0.140 30.4);
Tailwind
colors: {
  custom: {
    50: '#b56655',
    500: '#8a2317',
    950: '#000000',
  },
}
SCSS
$custom: #8a2317;
$custom-light: #b56655;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2317",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 6.261,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.14037,
    "h": 30.4
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#8A2317
secondary
#3FB0BE
accent
#DBEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2317

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

Preview Lab → · Contrast checker → · Palette generator →

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