#8A4161#8A4161

#8A4161 is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.9% C 0.106 H 354.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8A4161
RGBrgb(138, 65, 97)
HSLhsl(334, 36%, 40%)
HSVhsv(334, 53%, 54%)
CMYKcmyk(0%, 52.9%, 29.7%, 45.9%)
CIE-LABlab(37.93, 34.90, -4.17)
CIE-LCHlch(37.93, 35.15, 353.18°)
OKLaboklab(47.87% 0.1057 -0.0106)
OKLCHoklch(47.87% 0.106 354.3)
XYZxyz(14.5298, 10.0482, 12.4812)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4161 #418A6A
analogous
#8A4186 #8A4161 #8A4641
triadic
#8A4161 #618A41 #41618A
tetradic
#8A4161 #868A41 #418A6A #46418A
square
#8A4161 #868A41 #418A6A #46418A
split-complementary
#8A4161 #418A46 #41868A
monochromatic
#371A27 #602D44 #8A4161 #B0587F #C4829F

Accessibility & contrast

On white

6.98
#8A4161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A4161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4161
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4161#FFFFFF#000000##FFFFFF
##8A41611.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5162
Deuteranopia (green-blind)
#5E5E5F
Tritanopia (blue-blind)
#933D4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a4161;
/* rgb */ color: rgb(138, 65, 97);
/* oklch */ color: oklch(47.9% 0.106 354.3);
Tailwind
colors: {
  custom: {
    50: '#ae788d',
    500: '#8a4161',
    950: '#000000',
  },
}
SCSS
$custom: #8a4161;
$custom-light: #ae788d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4161",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 97
  },
  "hsl": {
    "h": 333.699,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.1062,
    "h": 354.3
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#8A4161
secondary
#78AE97
accent
#CC9B5C
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8A4161

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

Preview Lab → · Contrast checker → · Palette generator →

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