#8A3127#8A3127

#8A3127 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.1% C 0.124 H 29.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8A3127
RGBrgb(138, 49, 39)
HSLhsl(6, 56%, 35%)
HSVhsv(6, 72%, 54%)
CMYKcmyk(0%, 64.5%, 71.7%, 45.9%)
CIE-LABlab(33.45, 37.31, 26.33)
CIE-LCHlch(33.45, 45.66, 35.22°)
OKLaboklab(44.06% 0.1078 0.0606)
OKLCHoklch(44.06% 0.124 29.3)
XYZxyz(11.9470, 7.7480, 2.7855)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3127 #27808A
analogous
#8A274E #8A3127 #8A6327
triadic
#8A3127 #278A31 #31278A
tetradic
#8A3127 #4E8A27 #27808A #63278A
square
#8A3127 #4E8A27 #27808A #63278A
split-complementary
#8A3127 #278A63 #274E8A
monochromatic
#2B0F0C #5A201A #8A3127 #BA4234 #D1675B

Accessibility & contrast

On white

8.24
#8A3127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A3127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3127
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3127#FFFFFF#000000##FFFFFF
##8A31271.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494225
Deuteranopia (green-blind)
#5F5624
Tritanopia (blue-blind)
#981C2F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a3127;
/* rgb */ color: rgb(138, 49, 39);
/* oklch */ color: oklch(44.1% 0.124 29.3);
Tailwind
colors: {
  custom: {
    50: '#b36d61',
    500: '#8a3127',
    950: '#000000',
  },
}
SCSS
$custom: #8a3127;
$custom-light: #b36d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3127",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 39
  },
  "hsl": {
    "h": 6.061,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.12362,
    "h": 29.3
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#8A3127
secondary
#57ACB6
accent
#D0DF49
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8A3127

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

Preview Lab → · Contrast checker → · Palette generator →

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