#8A407A#8A407A

#8A407A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 48.8% C 0.125 H 336.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A407A
RGBrgb(138, 64, 122)
HSLhsl(313, 37%, 40%)
HSVhsv(313, 54%, 54%)
CMYKcmyk(0%, 53.6%, 11.6%, 45.9%)
CIE-LABlab(38.68, 39.37, -18.64)
CIE-LCHlch(38.68, 43.56, 334.67°)
OKLaboklab(48.75% 0.1146 -0.0504)
OKLCHoklch(48.75% 0.125 336.3)
XYZxyz(15.8276, 10.4763, 19.5971)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A407A #408A50
analogous
#75408A #8A407A #8A4055
triadic
#8A407A #7A8A40 #407A8A
tetradic
#8A407A #8A7540 #408A50 #40558A
square
#8A407A #8A7540 #408A50 #40558A
split-complementary
#8A407A #558A40 #408A75
monochromatic
#361930 #602D55 #8A407A #B1569D #C480B5

Accessibility & contrast

On white

6.79
#8A407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A407A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A407A#FFFFFF#000000##FFFFFF
##8A407A1.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#904357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a407a;
/* rgb */ color: rgb(138, 64, 122);
/* oklch */ color: oklch(48.8% 0.125 336.3);
Tailwind
colors: {
  custom: {
    50: '#ae78a0',
    500: '#8a407a',
    950: '#000000',
  },
}
SCSS
$custom: #8a407a;
$custom-light: #ae78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a407a",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 312.973,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.12513,
    "h": 336.3
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#8A407A
secondary
#77AF83
accent
#CD745B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A407A

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

Preview Lab → · Contrast checker → · Palette generator →

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