#8A6172#8A6172

#8A6172 is a mid, muted pink. Relative luminance 0.152; OKLCH L 54.1% C 0.058 H 352.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A6172
RGBrgb(138, 97, 114)
HSLhsl(335, 17%, 46%)
HSVhsv(335, 30%, 54%)
CMYKcmyk(0%, 29.7%, 17.4%, 45.9%)
CIE-LABlab(45.86, 19.37, -2.91)
CIE-LCHlch(45.86, 19.59, 351.45°)
OKLaboklab(54.08% 0.0576 -0.0075)
OKLCHoklch(54.08% 0.058 352.6)
XYZxyz(17.7933, 15.1684, 17.9069)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6172 #618A79
analogous
#8A6186 #8A6172 #8A6461
triadic
#8A6172 #728A61 #61728A
tetradic
#8A6172 #868A61 #618A79 #64618A
square
#8A6172 #868A61 #618A79 #64618A
split-complementary
#8A6172 #618A64 #61868A
monochromatic
#422E37 #664854 #8A6172 #A78191 #C0A5B0

Accessibility & contrast

On white

5.21
#8A6172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8A6172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6172
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6172#FFFFFF#000000##FFFFFF
##8A61721.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656873
Deuteranopia (green-blind)
#6F6F71
Tritanopia (blue-blind)
#906067
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a6172;
/* rgb */ color: rgb(138, 97, 114);
/* oklch */ color: oklch(54.1% 0.058 352.6);
Tailwind
colors: {
  custom: {
    50: '#ad8e9a',
    500: '#8a6172',
    950: '#000000',
  },
}
SCSS
$custom: #8a6172;
$custom-light: #ad8e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6172",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 114
  },
  "hsl": {
    "h": 335.122,
    "s": 17.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.05811,
    "h": 352.6
  },
  "luminance": 0.15168
}

Semantic roles & 50–950 ramp

primary
#8A6172
secondary
#98AFA5
accent
#BA9A6E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A6172

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

Preview Lab → · Contrast checker → · Palette generator →

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