#8A4071#8A4071

#8A4071 is a mid, moderate pink. Relative luminance 0.103; OKLCH L 48.4% C 0.118 H 342.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A4071
RGBrgb(138, 64, 113)
HSLhsl(320, 37%, 40%)
HSVhsv(320, 54%, 54%)
CMYKcmyk(0%, 53.6%, 18.1%, 45.9%)
CIE-LABlab(38.31, 37.86, -13.62)
CIE-LCHlch(38.31, 40.24, 340.22°)
OKLaboklab(48.35% 0.1123 -0.0363)
OKLCHoklch(48.35% 0.118 342.1)
XYZxyz(15.2955, 10.2635, 16.7950)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4071 #408A59
analogous
#7E408A #8A4071 #8A404C
triadic
#8A4071 #718A40 #40718A
tetradic
#8A4071 #8A7E40 #408A59 #404C8A
square
#8A4071 #8A7E40 #408A59 #404C8A
split-complementary
#8A4071 #4C8A40 #408A7E
monochromatic
#36192D #602D4F #8A4071 #B15692 #C480AD

Accessibility & contrast

On white

6.88
#8A4071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A4071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4071
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4071#FFFFFF#000000##FFFFFF
##8A40711.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#924153
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a4071;
/* rgb */ color: rgb(138, 64, 113);
/* oklch */ color: oklch(48.4% 0.118 342.1);
Tailwind
colors: {
  custom: {
    50: '#ae789a',
    500: '#8a4071',
    950: '#000000',
  },
}
SCSS
$custom: #8a4071;
$custom-light: #ae789a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4071",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 320.27,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.11801,
    "h": 342.1
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#8A4071
secondary
#77AF8A
accent
#CD825B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A4071

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

Preview Lab → · Contrast checker → · Palette generator →

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