#8A4240#8A4240

#8A4240 is a mid, moderate red. Relative luminance 0.097; OKLCH L 47.1% C 0.099 H 23.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A4240
RGBrgb(138, 66, 64)
HSLhsl(2, 37%, 40%)
HSVhsv(2, 54%, 54%)
CMYKcmyk(0%, 52.2%, 53.6%, 45.9%)
CIE-LABlab(37.25, 30.44, 15.64)
CIE-LCHlch(37.25, 34.22, 27.20°)
OKLaboklab(47.07% 0.0908 0.0389)
OKLCHoklch(47.07% 0.099 23.2)
XYZxyz(13.3558, 9.6713, 6.0129)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4240 #40888A
analogous
#8A4063 #8A4240 #8A6740
triadic
#8A4240 #408A42 #42408A
tetradic
#8A4240 #638A40 #40888A #67408A
square
#8A4240 #638A40 #40888A #67408A
split-complementary
#8A4240 #408A67 #40638A
monochromatic
#361A19 #602E2D #8A4240 #B15956 #C48280

Accessibility & contrast

On white

7.16
#8A4240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A4240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4240
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4240#FFFFFF#000000##FFFFFF
##8A42401.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3F
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#963742
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a4240;
/* rgb */ color: rgb(138, 66, 64);
/* oklch */ color: oklch(47.1% 0.099 23.2);
Tailwind
colors: {
  custom: {
    50: '#b07874',
    500: '#8a4240',
    950: '#000000',
  },
}
SCSS
$custom: #8a4240;
$custom-light: #b07874;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4240",
  "rgb": {
    "r": 138,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 1.622,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.09877,
    "h": 23.2
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#8A4240
secondary
#77ADAF
accent
#CACD5B
background
#FBF7F7
surface
#F6EDED
border
#D0C8C8
text
#110908
muted
#807B7B

Preview Lab

Preview with #8A4240

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

Preview Lab → · Contrast checker → · Palette generator →

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