#8A3840#8A3840

#8A3840 is a mid, moderate red. Relative luminance 0.086; OKLCH L 45.5% C 0.112 H 16.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8A3840
RGBrgb(138, 56, 64)
HSLhsl(354, 42%, 38%)
HSVhsv(354, 59%, 54%)
CMYKcmyk(0%, 59.4%, 53.6%, 45.9%)
CIE-LABlab(35.21, 35.70, 12.89)
CIE-LCHlch(35.21, 37.96, 19.85°)
OKLaboklab(45.53% 0.1073 0.0324)
OKLCHoklch(45.53% 0.112 16.8)
XYZxyz(12.8218, 8.6033, 5.8349)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3840 #388A82
analogous
#8A3869 #8A3840 #8A5938
triadic
#8A3840 #408A38 #38408A
tetradic
#8A3840 #698A38 #388A82 #59388A
square
#8A3840 #698A38 #388A82 #59388A
split-complementary
#8A3840 #388A59 #38698A
monochromatic
#331518 #5E262C #8A3840 #B54A54 #C7757D

Accessibility & contrast

On white

7.72
#8A3840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A3840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3840
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3840#FFFFFF#000000##FFFFFF
##8A38401.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4840
Deuteranopia (green-blind)
#60593E
Tritanopia (blue-blind)
#962B3B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3840;
/* rgb */ color: rgb(138, 56, 64);
/* oklch */ color: oklch(45.5% 0.112 16.8);
Tailwind
colors: {
  custom: {
    50: '#b17274',
    500: '#8a3840',
    950: '#000000',
  },
}
SCSS
$custom: #8a3840;
$custom-light: #b17274;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3840",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 354.146,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.11205,
    "h": 16.8
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#8A3840
secondary
#6EB0AA
accent
#D2C656
background
#FBF7F7
surface
#F6EDED
border
#D0C8C8
text
#110808
muted
#807B7B

Preview Lab

Preview with #8A3840

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

Preview Lab → · Contrast checker → · Palette generator →

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