#8A5152#8A5152

#8A5152 is a mid, moderate red. Relative luminance 0.119; OKLCH L 50.1% C 0.077 H 19.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A5152
RGBrgb(138, 81, 82)
HSLhsl(359, 26%, 43%)
HSVhsv(359, 41%, 54%)
CMYKcmyk(0%, 41.3%, 40.6%, 45.9%)
CIE-LABlab(41.05, 23.96, 9.69)
CIE-LCHlch(41.05, 25.85, 22.03°)
OKLaboklab(50.1% 0.0725 0.025)
OKLCHoklch(50.1% 0.077 19)
XYZxyz(14.9474, 11.8986, 9.4904)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5152 #518A89
analogous
#8A516E #8A5152 #8A6C51
triadic
#8A5152 #528A51 #51528A
tetradic
#8A5152 #6E8A51 #518A89 #6C518A
square
#8A5152 #6E8A51 #518A89 #6C518A
split-complementary
#8A5152 #518A6C #516E8A
monochromatic
#3D2424 #633A3B #8A5152 #AA6E6F #C19596

Accessibility & contrast

On white

6.21
#8A5152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A5152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5152
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5152#FFFFFF#000000##FFFFFF
##8A51521.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5A52
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#944A52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a5152;
/* rgb */ color: rgb(138, 81, 82);
/* oklch */ color: oklch(50.1% 0.077 19.0);
Tailwind
colors: {
  custom: {
    50: '#ae8382',
    500: '#8a5152',
    950: '#000000',
  },
}
SCSS
$custom: #8a5152;
$custom-light: #ae8382;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5152",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 82
  },
  "hsl": {
    "h": 358.947,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50101,
    "c": 0.07666,
    "h": 19
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#8A5152
secondary
#89AEAD
accent
#C2C165
background
#FAF8F7
surface
#F5EFEE
border
#CFCAC9
text
#110A0A
muted
#807C7C

Preview Lab

Preview with #8A5152

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

Preview Lab → · Contrast checker → · Palette generator →

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