#8A4166#8A4166

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

Color values

HEX#8A4166
RGBrgb(138, 65, 102)
HSLhsl(330, 36%, 40%)
HSVhsv(330, 53%, 54%)
CMYKcmyk(0%, 52.9%, 26.1%, 45.9%)
CIE-LABlab(38.10, 35.62, -7.06)
CIE-LCHlch(38.10, 36.32, 348.79°)
OKLaboklab(48.06% 0.1074 -0.0183)
OKLCHoklch(48.06% 0.109 350.3)
XYZxyz(14.7703, 10.1444, 13.7480)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4166 #418A65
analogous
#8A418A #8A4166 #8A4141
triadic
#8A4166 #668A41 #41668A
tetradic
#8A4166 #8A8A41 #418A65 #41418A
square
#8A4166 #8A8A41 #418A65 #41418A
split-complementary
#8A4166 #418A41 #418A8A
monochromatic
#371A28 #602D47 #8A4166 #B05885 #C482A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A4166#FFFFFF#000000##FFFFFF
##8A41661.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)
#495267
Deuteranopia (green-blind)
#5D5E64
Tritanopia (blue-blind)
#933E4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a4166;
/* rgb */ color: rgb(138, 65, 102);
/* oklch */ color: oklch(48.1% 0.109 350.3);
Tailwind
colors: {
  custom: {
    50: '#ae7891',
    500: '#8a4166',
    950: '#000000',
  },
}
SCSS
$custom: #8a4166;
$custom-light: #ae7891;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4166",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 329.589,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.10892,
    "h": 350.3
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#8A4166
secondary
#78AE93
accent
#CC935C
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A4166

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

Preview Lab → · Contrast checker → · Palette generator →

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