#8A4971#8A4971

#8A4971 is a mid, moderate pink. Relative luminance 0.114; OKLCH L 49.8% C 0.102 H 343.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A4971
RGBrgb(138, 73, 113)
HSLhsl(323, 31%, 41%)
HSVhsv(323, 47%, 54%)
CMYKcmyk(0%, 47.1%, 18.1%, 45.9%)
CIE-LABlab(40.18, 33.01, -10.78)
CIE-LCHlch(40.18, 34.73, 341.91°)
OKLaboklab(49.75% 0.0979 -0.0286)
OKLCHoklch(49.75% 0.102 343.7)
XYZxyz(15.8447, 11.3617, 16.9781)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4971 #498A62
analogous
#83498A #8A4971 #8A4951
triadic
#8A4971 #718A49 #49718A
tetradic
#8A4971 #8A8349 #498A62 #49518A
square
#8A4971 #8A8349 #498A62 #49518A
split-complementary
#8A4971 #518A49 #498A83
monochromatic
#3A1F2F #623450 #8A4971 #AD6391 #C28BAD

Accessibility & contrast

On white

6.42
#8A4971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A4971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4971
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4971#FFFFFF#000000##FFFFFF
##8A49711.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5872
Deuteranopia (green-blind)
#5E636F
Tritanopia (blue-blind)
#914958
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4971;
/* rgb */ color: rgb(138, 73, 113);
/* oklch */ color: oklch(49.8% 0.102 343.7);
Tailwind
colors: {
  custom: {
    50: '#ae7e99',
    500: '#8a4971',
    950: '#000000',
  },
}
SCSS
$custom: #8a4971;
$custom-light: #ae7e99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4971",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 323.077,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.10193,
    "h": 343.7
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#8A4971
secondary
#81AE92
accent
#C78861
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4971

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

Preview Lab → · Contrast checker → · Palette generator →

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