#8A406C#8A406C

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

Color values

HEX#8A406C
RGBrgb(138, 64, 108)
HSLhsl(324, 37%, 40%)
HSVhsv(324, 54%, 54%)
CMYKcmyk(0%, 53.6%, 21.7%, 45.9%)
CIE-LABlab(38.12, 37.07, -10.79)
CIE-LCHlch(38.12, 38.61, 343.77°)
OKLaboklab(48.14% 0.1109 -0.0285)
OKLCHoklch(48.14% 0.114 345.6)
XYZxyz(15.0218, 10.1540, 15.3532)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A406C #408A5E
analogous
#83408A #8A406C #8A4047
triadic
#8A406C #6C8A40 #406C8A
tetradic
#8A406C #8A8340 #408A5E #40478A
square
#8A406C #8A8340 #408A5E #40478A
split-complementary
#8A406C #478A40 #408A83
monochromatic
#36192B #602D4B #8A406C #B1568C #C480A9

Accessibility & contrast

On white

6.93
#8A406C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A406C
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A406C#FFFFFF#000000##FFFFFF
##8A406C1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a406c;
/* rgb */ color: rgb(138, 64, 108);
/* oklch */ color: oklch(48.1% 0.114 345.6);
Tailwind
colors: {
  custom: {
    50: '#ae7896',
    500: '#8a406c',
    950: '#000000',
  },
}
SCSS
$custom: #8a406c;
$custom-light: #ae7896;
$custom-dark: #000000;
JSON
{
  "hex": "#8a406c",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 324.324,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.11446,
    "h": 345.6
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#8A406C
secondary
#77AF8E
accent
#CD895B
background
#FAF7F9
surface
#F5EDF1
border
#CFC8CB
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A406C

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

Preview Lab → · Contrast checker → · Palette generator →

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