#8A4F71#8A4F71

#8A4F71 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 50.8% C 0.091 H 345.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A4F71
RGBrgb(138, 79, 113)
HSLhsl(325, 27%, 43%)
HSVhsv(325, 43%, 54%)
CMYKcmyk(0%, 42.8%, 18.1%, 45.9%)
CIE-LABlab(41.51, 29.65, -8.78)
CIE-LCHlch(41.51, 30.92, 343.51°)
OKLaboklab(50.76% 0.0879 -0.0231)
OKLCHoklch(50.76% 0.091 345.3)
XYZxyz(16.2581, 12.1886, 17.1159)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4F71 #4F8A68
analogous
#864F8A #8A4F71 #8A4F53
triadic
#8A4F71 #718A4F #4F718A
tetradic
#8A4F71 #8A864F #4F8A68 #4F538A
square
#8A4F71 #8A864F #4F8A68 #4F538A
split-complementary
#8A4F71 #538A4F #4F8A86
monochromatic
#3C2231 #633951 #8A4F71 #AB6C90 #C193AD

Accessibility & contrast

On white

6.11
#8A4F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A4F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4F71
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4F71#FFFFFF#000000##FFFFFF
##8A4F711.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#62666F
Tritanopia (blue-blind)
#914F5B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4f71;
/* rgb */ color: rgb(138, 79, 113);
/* oklch */ color: oklch(50.8% 0.091 345.3);
Tailwind
colors: {
  custom: {
    50: '#ad8299',
    500: '#8a4f71',
    950: '#000000',
  },
}
SCSS
$custom: #8a4f71;
$custom-light: #ad8299;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4f71",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 325.424,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50755,
    "c": 0.09088,
    "h": 345.3
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#8A4F71
secondary
#87AE97
accent
#C48D64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4F71

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

Preview Lab → · Contrast checker → · Palette generator →

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