#8A4160#8A4160

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

Color values

HEX#8A4160
RGBrgb(138, 65, 96)
HSLhsl(335, 36%, 40%)
HSVhsv(335, 53%, 54%)
CMYKcmyk(0%, 52.9%, 30.4%, 45.9%)
CIE-LABlab(37.90, 34.75, -3.59)
CIE-LCHlch(37.90, 34.94, 354.10°)
OKLaboklab(47.84% 0.1053 -0.009)
OKLCHoklch(47.84% 0.106 355.1)
XYZxyz(14.4834, 10.0297, 12.2372)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4160 #418A6B
analogous
#8A4185 #8A4160 #8A4741
triadic
#8A4160 #608A41 #41608A
tetradic
#8A4160 #858A41 #418A6B #47418A
square
#8A4160 #858A41 #418A6B #47418A
split-complementary
#8A4160 #418A47 #41858A
monochromatic
#371A26 #602D43 #8A4160 #B0587D #C4829E

Accessibility & contrast

On white

6.99
#8A4160 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4160
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4160#FFFFFF#000000##FFFFFF
##8A41601.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5161
Deuteranopia (green-blind)
#5E5E5E
Tritanopia (blue-blind)
#943D4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a4160;
/* rgb */ color: rgb(138, 65, 96);
/* oklch */ color: oklch(47.8% 0.106 355.1);
Tailwind
colors: {
  custom: {
    50: '#af788d',
    500: '#8a4160',
    950: '#000000',
  },
}
SCSS
$custom: #8a4160;
$custom-light: #af788d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4160",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 96
  },
  "hsl": {
    "h": 334.521,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.10571,
    "h": 355.1
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4160

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

Preview Lab → · Contrast checker → · Palette generator →

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