#8A5145#8A5145

#8A5145 is a mid, moderate red. Relative luminance 0.117; OKLCH L 49.8% C 0.079 H 32.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A5145
RGBrgb(138, 81, 69)
HSLhsl(10, 33%, 41%)
HSVhsv(10, 50%, 54%)
CMYKcmyk(0%, 41.3%, 50%, 45.9%)
CIE-LABlab(40.77, 22.48, 17.27)
CIE-LCHlch(40.77, 28.34, 37.54°)
OKLaboklab(49.79% 0.0669 0.043)
OKLCHoklch(49.79% 0.079 32.7)
XYZxyz(14.4987, 11.7191, 7.1275)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5145 #457E8A
analogous
#8A455B #8A5145 #8A7345
triadic
#8A5145 #458A51 #51458A
tetradic
#8A5145 #5B8A45 #457E8A #73458A
square
#8A5145 #5B8A45 #457E8A #73458A
split-complementary
#8A5145 #458A73 #455B8A
monochromatic
#38211C #613931 #8A5145 #AE6C5E #C39187

Accessibility & contrast

On white

6.28
#8A5145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A5145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5145
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5145#FFFFFF#000000##FFFFFF
##8A51451.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5944
Deuteranopia (green-blind)
#6C6544
Tritanopia (blue-blind)
#95484E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a5145;
/* rgb */ color: rgb(138, 81, 69);
/* oklch */ color: oklch(49.8% 0.079 32.7);
Tailwind
colors: {
  custom: {
    50: '#af8278',
    500: '#8a5145',
    950: '#000000',
  },
}
SCSS
$custom: #8a5145;
$custom-light: #af8278;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5145",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 10.435,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.07948,
    "h": 32.7
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#8A5145
secondary
#7DA5AE
accent
#B7C95E
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110A09
muted
#807C7B

Preview Lab

Preview with #8A5145

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

Preview Lab → · Contrast checker → · Palette generator →

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