#8A6174#8A6174

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

Color values

HEX#8A6174
RGBrgb(138, 97, 116)
HSLhsl(332, 17%, 46%)
HSVhsv(332, 30%, 54%)
CMYKcmyk(0%, 29.7%, 15.9%, 45.9%)
CIE-LABlab(45.93, 19.72, -4.03)
CIE-LCHlch(45.93, 20.13, 348.45°)
OKLaboklab(54.15% 0.0584 -0.0104)
OKLCHoklch(54.15% 0.059 349.9)
XYZxyz(17.9084, 15.2145, 18.5130)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6174 #618A77
analogous
#8A6188 #8A6174 #8A6261
triadic
#8A6174 #748A61 #61748A
tetradic
#8A6174 #888A61 #618A77 #62618A
square
#8A6174 #888A61 #618A77 #62618A
split-complementary
#8A6174 #618A62 #61888A
monochromatic
#422E38 #664856 #8A6174 #A78193 #C0A5B2

Accessibility & contrast

On white

5.19
#8A6174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8A6174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6174
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6174#FFFFFF#000000##FFFFFF
##8A61741.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a6174;
/* rgb */ color: rgb(138, 97, 116);
/* oklch */ color: oklch(54.1% 0.059 349.9);
Tailwind
colors: {
  custom: {
    50: '#ad8e9c',
    500: '#8a6174',
    950: '#000000',
  },
}
SCSS
$custom: #8a6174;
$custom-light: #ad8e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6174",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 116
  },
  "hsl": {
    "h": 332.195,
    "s": 17.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.05933,
    "h": 349.9
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#8A6174
secondary
#98AFA4
accent
#BA976E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A6174

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

Preview Lab → · Contrast checker → · Palette generator →

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