#8A4042#8A4042

#8A4042 is a mid, moderate red. Relative luminance 0.095; OKLCH L 46.8% C 0.101 H 20.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A4042
RGBrgb(138, 64, 66)
HSLhsl(358, 37%, 40%)
HSVhsv(358, 54%, 54%)
CMYKcmyk(0%, 53.6%, 52.2%, 45.9%)
CIE-LABlab(36.86, 31.71, 13.87)
CIE-LCHlch(36.86, 34.61, 23.63°)
OKLaboklab(46.79% 0.095 0.0348)
OKLCHoklch(46.79% 0.101 20.1)
XYZxyz(13.2990, 9.4649, 6.2797)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4042 #408A88
analogous
#8A4067 #8A4042 #8A6340
triadic
#8A4042 #428A40 #40428A
tetradic
#8A4042 #678A40 #408A88 #63408A
square
#8A4042 #678A40 #408A88 #63408A
split-complementary
#8A4042 #408A63 #40678A
monochromatic
#36191A #602D2E #8A4042 #B15659 #C48082

Accessibility & contrast

On white

7.26
#8A4042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A4042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A4042
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4042#FFFFFF#000000##FFFFFF
##8A40421.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D42
Deuteranopia (green-blind)
#635D40
Tritanopia (blue-blind)
#963541
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a4042;
/* rgb */ color: rgb(138, 64, 66);
/* oklch */ color: oklch(46.8% 0.101 20.1);
Tailwind
colors: {
  custom: {
    50: '#b07776',
    500: '#8a4042',
    950: '#000000',
  },
}
SCSS
$custom: #8a4042;
$custom-light: #b07776;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4042",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 358.378,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.10119,
    "h": 20.1
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#8A4042
secondary
#77AFAD
accent
#CDCA5B
background
#FBF7F7
surface
#F6EDED
border
#D0C8C8
text
#110908
muted
#807B7B

Preview Lab

Preview with #8A4042

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

Preview Lab → · Contrast checker → · Palette generator →

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