#8A4039#8A4039

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

Color values

HEX#8A4039
RGBrgb(138, 64, 57)
HSLhsl(5, 42%, 38%)
HSVhsv(5, 59%, 54%)
CMYKcmyk(0%, 53.6%, 58.7%, 45.9%)
CIE-LABlab(36.68, 30.90, 19.25)
CIE-LCHlch(36.68, 36.41, 31.93°)
OKLaboklab(46.59% 0.0912 0.0469)
OKLCHoklch(46.59% 0.103 27.2)
XYZxyz(13.0542, 9.3670, 4.9907)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4039 #39838A
analogous
#8A395A #8A4039 #8A6839
triadic
#8A4039 #398A40 #40398A
tetradic
#8A4039 #5A8A39 #39838A #68398A
square
#8A4039 #5A8A39 #39838A #68398A
split-complementary
#8A4039 #398A68 #395A8A
monochromatic
#331815 #5F2C27 #8A4039 #B5544B #C77E77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A4039#FFFFFF#000000##FFFFFF
##8A40391.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)
#524D38
Deuteranopia (green-blind)
#645C37
Tritanopia (blue-blind)
#97343F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a4039;
/* rgb */ color: rgb(138, 64, 57);
/* oklch */ color: oklch(46.6% 0.103 27.2);
Tailwind
colors: {
  custom: {
    50: '#b1776f',
    500: '#8a4039',
    950: '#000000',
  },
}
SCSS
$custom: #8a4039;
$custom-light: #b1776f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4039",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 57
  },
  "hsl": {
    "h": 5.185,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.10254,
    "h": 27.2
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#8A4039
secondary
#6FAAB0
accent
#C7D156
background
#FBF7F6
surface
#F6EDEC
border
#D0C8C7
text
#110907
muted
#807B7A

Preview Lab

Preview with #8A4039

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

Preview Lab → · Contrast checker → · Palette generator →

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