#8A545F#8A545F

#8A545F is a mid, moderate red. Relative luminance 0.126; OKLCH L 51.0% C 0.073 H 6.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A545F
RGBrgb(138, 84, 95)
HSLhsl(348, 24%, 44%)
HSVhsv(348, 39%, 54%)
CMYKcmyk(0%, 39.1%, 31.2%, 45.9%)
CIE-LABlab(42.11, 23.97, 3.19)
CIE-LCHlch(42.11, 24.18, 7.57°)
OKLaboklab(51.02% 0.0726 0.0086)
OKLCHoklch(51.02% 0.073 6.8)
XYZxyz(15.7176, 12.5713, 12.4229)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A545F #548A7F
analogous
#8A547A #8A545F #8A6454
triadic
#8A545F #5F8A54 #545F8A
tetradic
#8A545F #7A8A54 #548A7F #64548A
square
#8A545F #7A8A54 #548A7F #64548A
split-complementary
#8A545F #548A64 #547A8A
monochromatic
#3E262B #643D45 #8A545F #A9727D #C098A0

Accessibility & contrast

On white

5.98
#8A545F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A545F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A545F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A545F#FFFFFF#000000##FFFFFF
##8A545F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5D5F
Deuteranopia (green-blind)
#6A675E
Tritanopia (blue-blind)
#935058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a545f;
/* rgb */ color: rgb(138, 84, 95);
/* oklch */ color: oklch(51.0% 0.073 6.8);
Tailwind
colors: {
  custom: {
    50: '#ae858c',
    500: '#8a545f',
    950: '#000000',
  },
}
SCSS
$custom: #8a545f;
$custom-light: #ae858c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a545f",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 347.778,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.07313,
    "h": 6.8
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#8A545F
secondary
#8CAEA7
accent
#C1AE67
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#100B0C
muted
#7F7C7D

Preview Lab

Preview with #8A545F

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

Preview Lab → · Contrast checker → · Palette generator →

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