#8A406D#8A406D

#8A406D is a mid, moderate pink. Relative luminance 0.102; OKLCH L 48.2% C 0.115 H 344.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A406D
RGBrgb(138, 64, 109)
HSLhsl(324, 37%, 40%)
HSVhsv(324, 54%, 54%)
CMYKcmyk(0%, 53.6%, 21%, 45.9%)
CIE-LABlab(38.16, 37.22, -11.36)
CIE-LCHlch(38.16, 38.92, 343.03°)
OKLaboklab(48.19% 0.1112 -0.0301)
OKLCHoklch(48.19% 0.115 344.9)
XYZxyz(15.0753, 10.1754, 15.6351)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A406D #408A5D
analogous
#82408A #8A406D #8A4048
triadic
#8A406D #6D8A40 #406D8A
tetradic
#8A406D #8A8240 #408A5D #40488A
square
#8A406D #8A8240 #408A5D #40488A
split-complementary
#8A406D #488A40 #408A82
monochromatic
#36192B #602D4C #8A406D #B1568D #C480AA

Accessibility & contrast

On white

6.92
#8A406D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A406D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A406D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A406D#FFFFFF#000000##FFFFFF
##8A406D1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#923F51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a406d;
/* rgb */ color: rgb(138, 64, 109);
/* oklch */ color: oklch(48.2% 0.115 344.9);
Tailwind
colors: {
  custom: {
    50: '#ae7896',
    500: '#8a406d',
    950: '#000000',
  },
}
SCSS
$custom: #8a406d;
$custom-light: #ae7896;
$custom-dark: #000000;
JSON
{
  "hex": "#8a406d",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 323.514,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.11515,
    "h": 344.9
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#8A406D
secondary
#77AF8D
accent
#CD885B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A406D

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

Preview Lab → · Contrast checker → · Palette generator →

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