#8A416C#8A416C

#8A416C is a mid, moderate pink. Relative luminance 0.103; OKLCH L 48.3% C 0.113 H 345.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A416C
RGBrgb(138, 65, 108)
HSLhsl(325, 36%, 40%)
HSVhsv(325, 53%, 54%)
CMYKcmyk(0%, 52.9%, 21.7%, 45.9%)
CIE-LABlab(38.32, 36.54, -10.49)
CIE-LCHlch(38.32, 38.02, 343.99°)
OKLaboklab(48.29% 0.1093 -0.0277)
OKLCHoklch(48.29% 0.113 345.8)
XYZxyz(15.0787, 10.2678, 15.3722)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A416C #418A5F
analogous
#84418A #8A416C #8A4147
triadic
#8A416C #6C8A41 #416C8A
tetradic
#8A416C #8A8441 #418A5F #41478A
square
#8A416C #8A8441 #418A5F #41478A
split-complementary
#8A416C #478A41 #418A84
monochromatic
#371A2B #602D4B #8A416C #B0588C #C482A9

Accessibility & contrast

On white

6.88
#8A416C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A416C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A416C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A416C#FFFFFF#000000##FFFFFF
##8A416C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536D
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#924051
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a416c;
/* rgb */ color: rgb(138, 65, 108);
/* oklch */ color: oklch(48.3% 0.113 345.8);
Tailwind
colors: {
  custom: {
    50: '#ae7896',
    500: '#8a416c',
    950: '#000000',
  },
}
SCSS
$custom: #8a416c;
$custom-light: #ae7896;
$custom-dark: #000000;
JSON
{
  "hex": "#8a416c",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 108
  },
  "hsl": {
    "h": 324.658,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.11271,
    "h": 345.8
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#8A416C
secondary
#78AE8F
accent
#CC8A5C
background
#FAF7F9
surface
#F5EDF1
border
#CFC8CB
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A416C

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

Preview Lab → · Contrast checker → · Palette generator →

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