#8A406E#8A406E

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

Color values

HEX#8A406E
RGBrgb(138, 64, 110)
HSLhsl(323, 37%, 40%)
HSVhsv(323, 54%, 54%)
CMYKcmyk(0%, 53.6%, 20.3%, 45.9%)
CIE-LABlab(38.19, 37.38, -11.93)
CIE-LCHlch(38.19, 39.24, 342.31°)
OKLaboklab(48.23% 0.1114 -0.0316)
OKLCHoklch(48.23% 0.116 344.2)
XYZxyz(15.1294, 10.1971, 15.9202)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A406E #408A5C
analogous
#81408A #8A406E #8A4049
triadic
#8A406E #6E8A40 #406E8A
tetradic
#8A406E #8A8140 #408A5C #40498A
square
#8A406E #8A8140 #408A5C #40498A
split-complementary
#8A406E #498A40 #408A81
monochromatic
#36192B #602D4D #8A406E #B1568F #C480AA

Accessibility & contrast

On white

6.91
#8A406E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A406E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A406E#FFFFFF#000000##FFFFFF
##8A406E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a406e;
/* rgb */ color: rgb(138, 64, 110);
/* oklch */ color: oklch(48.2% 0.116 344.2);
Tailwind
colors: {
  custom: {
    50: '#ae7897',
    500: '#8a406e',
    950: '#000000',
  },
}
SCSS
$custom: #8a406e;
$custom-light: #ae7897;
$custom-dark: #000000;
JSON
{
  "hex": "#8a406e",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 322.703,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.11584,
    "h": 344.2
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#8A406E
secondary
#77AF8C
accent
#CD865B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A406E

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

Preview Lab → · Contrast checker → · Palette generator →

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