#8A406F#8A406F

#8A406F is a mid, moderate pink. Relative luminance 0.102; OKLCH L 48.3% C 0.117 H 343.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A406F
RGBrgb(138, 64, 111)
HSLhsl(322, 37%, 40%)
HSVhsv(322, 54%, 54%)
CMYKcmyk(0%, 53.6%, 19.6%, 45.9%)
CIE-LABlab(38.23, 37.54, -12.49)
CIE-LCHlch(38.23, 39.57, 341.60°)
OKLaboklab(48.27% 0.1117 -0.0332)
OKLCHoklch(48.27% 0.117 343.5)
XYZxyz(15.1842, 10.2190, 16.2086)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A406F #408A5B
analogous
#80408A #8A406F #8A404A
triadic
#8A406F #6F8A40 #406F8A
tetradic
#8A406F #8A8040 #408A5B #404A8A
square
#8A406F #8A8040 #408A5B #404A8A
split-complementary
#8A406F #4A8A40 #408A80
monochromatic
#36192C #602D4D #8A406F #B15690 #C480AB

Accessibility & contrast

On white

6.90
#8A406F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A406F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A406F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A406F#FFFFFF#000000##FFFFFF
##8A406F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#5A5F6D
Tritanopia (blue-blind)
#924052
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a406f;
/* rgb */ color: rgb(138, 64, 111);
/* oklch */ color: oklch(48.3% 0.117 343.5);
Tailwind
colors: {
  custom: {
    50: '#ae7898',
    500: '#8a406f',
    950: '#000000',
  },
}
SCSS
$custom: #8a406f;
$custom-light: #ae7898;
$custom-dark: #000000;
JSON
{
  "hex": "#8a406f",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 321.892,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.11655,
    "h": 343.5
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#8A406F
secondary
#77AF8B
accent
#CD855B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A406F

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

Preview Lab → · Contrast checker → · Palette generator →

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