#8A4E71#8A4E71

#8A4E71 is a mid, moderate pink. Relative luminance 0.120; OKLCH L 50.6% C 0.093 H 345.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A4E71
RGBrgb(138, 78, 113)
HSLhsl(325, 28%, 42%)
HSVhsv(325, 43%, 54%)
CMYKcmyk(0%, 43.5%, 18.1%, 45.9%)
CIE-LABlab(41.29, 30.21, -9.12)
CIE-LCHlch(41.29, 31.56, 343.21°)
OKLaboklab(50.58% 0.0896 -0.024)
OKLCHoklch(50.58% 0.093 345)
XYZxyz(16.1865, 12.0454, 17.0920)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E71 #4E8A67
analogous
#854E8A #8A4E71 #8A4E53
triadic
#8A4E71 #718A4E #4E718A
tetradic
#8A4E71 #8A854E #4E8A67 #4E538A
square
#8A4E71 #8A854E #4E8A67 #4E538A
split-complementary
#8A4E71 #538A4E #4E8A85
monochromatic
#3C2231 #633851 #8A4E71 #AB6A90 #C191AD

Accessibility & contrast

On white

6.16
#8A4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A4E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E71
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E71#FFFFFF#000000##FFFFFF
##8A4E711.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#62656F
Tritanopia (blue-blind)
#914E5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4e71;
/* rgb */ color: rgb(138, 78, 113);
/* oklch */ color: oklch(50.6% 0.093 345.0);
Tailwind
colors: {
  custom: {
    50: '#ad8199',
    500: '#8a4e71',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e71;
$custom-light: #ad8199;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e71",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 325,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.09274,
    "h": 345
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#8A4E71
secondary
#86AE97
accent
#C48C64
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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