#8A5E71#8A5E71

#8A5E71 is a mid, moderate pink. Relative luminance 0.146; OKLCH L 53.5% C 0.063 H 351.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A5E71
RGBrgb(138, 94, 113)
HSLhsl(334, 19%, 45%)
HSVhsv(334, 32%, 54%)
CMYKcmyk(0%, 31.9%, 18.1%, 45.9%)
CIE-LABlab(45.08, 20.96, -3.46)
CIE-LCHlch(45.08, 21.25, 350.63°)
OKLaboklab(53.47% 0.0624 -0.0089)
OKLCHoklch(53.47% 0.063 351.9)
XYZxyz(17.4647, 14.6018, 17.5181)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E71 #5E8A77
analogous
#8A5E87 #8A5E71 #8A615E
triadic
#8A5E71 #718A5E #5E718A
tetradic
#8A5E71 #878A5E #5E8A77 #615E8A
square
#8A5E71 #878A5E #5E8A77 #615E8A
split-complementary
#8A5E71 #5E8A61 #5E878A
monochromatic
#412C35 #664553 #8A5E71 #A77E90 #C0A2AF

Accessibility & contrast

On white

5.36
#8A5E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A5E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E71
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E71#FFFFFF#000000##FFFFFF
##8A5E711.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626672
Deuteranopia (green-blind)
#6D6D70
Tritanopia (blue-blind)
#905D64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a5e71;
/* rgb */ color: rgb(138, 94, 113);
/* oklch */ color: oklch(53.5% 0.063 351.9);
Tailwind
colors: {
  custom: {
    50: '#ad8c99',
    500: '#8a5e71',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e71;
$custom-light: #ad8c99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e71",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 113
  },
  "hsl": {
    "h": 334.091,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.06301,
    "h": 351.9
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#8A5E71
secondary
#96AEA4
accent
#BC996C
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A5E71

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

Preview Lab → · Contrast checker → · Palette generator →

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