#8A5F6F#8A5F6F

#8A5F6F is a mid, moderate pink. Relative luminance 0.147; OKLCH L 53.6% C 0.060 H 355.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A5F6F
RGBrgb(138, 95, 111)
HSLhsl(338, 18%, 46%)
HSVhsv(338, 31%, 54%)
CMYKcmyk(0%, 31.2%, 19.6%, 45.9%)
CIE-LABlab(45.27, 20.04, -1.97)
CIE-LCHlch(45.27, 20.14, 354.38°)
OKLaboklab(53.59% 0.0599 -0.0049)
OKLCHoklch(53.59% 0.06 355.3)
XYZxyz(17.4429, 14.7363, 16.9615)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5F6F #5F8A7A
analogous
#8A5F84 #8A5F6F #8A645F
triadic
#8A5F6F #6F8A5F #5F6F8A
tetradic
#8A5F6F #848A5F #5F8A7A #645F8A
square
#8A5F6F #848A5F #5F8A7A #645F8A
split-complementary
#8A5F6F #5F8A64 #5F848A
monochromatic
#422D35 #664652 #8A5F6F #A77F8E #C0A3AE

Accessibility & contrast

On white

5.32
#8A5F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A5F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5F6F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5F6F#FFFFFF#000000##FFFFFF
##8A5F6F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646770
Deuteranopia (green-blind)
#6E6E6E
Tritanopia (blue-blind)
#915D64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a5f6f;
/* rgb */ color: rgb(138, 95, 111);
/* oklch */ color: oklch(53.6% 0.060 355.3);
Tailwind
colors: {
  custom: {
    50: '#ad8d98',
    500: '#8a5f6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a5f6f;
$custom-light: #ad8d98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5f6f",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 111
  },
  "hsl": {
    "h": 337.674,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.0601,
    "h": 355.3
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#8A5F6F
secondary
#96AEA5
accent
#BB9E6D
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0D
muted
#7F7D7E

Preview Lab

Preview with #8A5F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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