#8A416D#8A416D

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

Color values

HEX#8A416D
RGBrgb(138, 65, 109)
HSLhsl(324, 36%, 40%)
HSVhsv(324, 53%, 54%)
CMYKcmyk(0%, 52.9%, 21%, 45.9%)
CIE-LABlab(38.36, 36.70, -11.06)
CIE-LCHlch(38.36, 38.33, 343.23°)
OKLaboklab(48.34% 0.1096 -0.0292)
OKLCHoklch(48.34% 0.113 345.1)
XYZxyz(15.1322, 10.2892, 15.6541)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A416D #418A5E
analogous
#83418A #8A416D #8A4148
triadic
#8A416D #6D8A41 #416D8A
tetradic
#8A416D #8A8341 #418A5E #41488A
square
#8A416D #8A8341 #418A5E #41488A
split-complementary
#8A416D #488A41 #418A83
monochromatic
#371A2B #602D4C #8A416D #B0588D #C482AA

Accessibility & contrast

On white

6.87
#8A416D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A416D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A416D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A416D#FFFFFF#000000##FFFFFF
##8A416D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536E
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#924052
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a416d;
/* rgb */ color: rgb(138, 65, 109);
/* oklch */ color: oklch(48.3% 0.113 345.1);
Tailwind
colors: {
  custom: {
    50: '#ae7896',
    500: '#8a416d',
    950: '#000000',
  },
}
SCSS
$custom: #8a416d;
$custom-light: #ae7896;
$custom-dark: #000000;
JSON
{
  "hex": "#8a416d",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 323.836,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.11339,
    "h": 345.1
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#8A416D
secondary
#78AE8E
accent
#CC885C
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A416D

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

Preview Lab → · Contrast checker → · Palette generator →

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