#8A4038#8A4038

#8A4038 is a mid, moderate red. Relative luminance 0.094; OKLCH L 46.6% C 0.103 H 28.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A4038
RGBrgb(138, 64, 56)
HSLhsl(6, 42%, 38%)
HSVhsv(6, 59%, 54%)
CMYKcmyk(0%, 53.6%, 59.4%, 45.9%)
CIE-LABlab(36.66, 30.81, 19.85)
CIE-LCHlch(36.66, 36.65, 32.79°)
OKLaboklab(46.57% 0.0908 0.0482)
OKLCHoklch(46.57% 0.103 28)
XYZxyz(13.0295, 9.3571, 4.8606)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4038 #38828A
analogous
#8A3859 #8A4038 #8A6938
triadic
#8A4038 #388A40 #40388A
tetradic
#8A4038 #598A38 #38828A #69388A
square
#8A4038 #598A38 #38828A #69388A
split-complementary
#8A4038 #388A69 #38598A
monochromatic
#331815 #5E2C26 #8A4038 #B5544A #C77D75

Accessibility & contrast

On white

7.31
#8A4038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A4038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4038
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4038#FFFFFF#000000##FFFFFF
##8A40381.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D37
Deuteranopia (green-blind)
#645C36
Tritanopia (blue-blind)
#97333E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a4038;
/* rgb */ color: rgb(138, 64, 56);
/* oklch */ color: oklch(46.6% 0.103 28.0);
Tailwind
colors: {
  custom: {
    50: '#b1776e',
    500: '#8a4038',
    950: '#000000',
  },
}
SCSS
$custom: #8a4038;
$custom-light: #b1776e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4038",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 5.854,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46573,
    "c": 0.10277,
    "h": 28
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#8A4038
secondary
#6EAAB0
accent
#C6D256
background
#FBF7F6
surface
#F6EDEC
border
#D0C8C7
text
#110907
muted
#807B7A

Preview Lab

Preview with #8A4038

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

Preview Lab → · Contrast checker → · Palette generator →

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