#8A5164#8A5164

#8A5164 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 50.6% C 0.080 H 358.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A5164
RGBrgb(138, 81, 100)
HSLhsl(340, 26%, 43%)
HSVhsv(340, 41%, 54%)
CMYKcmyk(0%, 41.3%, 27.5%, 45.9%)
CIE-LABlab(41.55, 26.44, -0.71)
CIE-LCHlch(41.55, 26.45, 358.46°)
OKLaboklab(50.64% 0.0798 -0.0015)
OKLCHoklch(50.64% 0.08 358.9)
XYZxyz(15.7244, 12.2094, 13.5826)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5164 #518A77
analogous
#8A5180 #8A5164 #8A5A51
triadic
#8A5164 #648A51 #51648A
tetradic
#8A5164 #808A51 #518A77 #5A518A
square
#8A5164 #808A51 #518A77 #5A518A
split-complementary
#8A5164 #518A5A #51808A
monochromatic
#3D242C #633A48 #8A5164 #AA6E82 #C195A3

Accessibility & contrast

On white

6.10
#8A5164 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A5164 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5164
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5164#FFFFFF#000000##FFFFFF
##8A51641.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595C65
Deuteranopia (green-blind)
#676663
Tritanopia (blue-blind)
#934E58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a5164;
/* rgb */ color: rgb(138, 81, 100);
/* oklch */ color: oklch(50.6% 0.080 358.9);
Tailwind
colors: {
  custom: {
    50: '#ae8390',
    500: '#8a5164',
    950: '#000000',
  },
}
SCSS
$custom: #8a5164;
$custom-light: #ae8390;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5164",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 100
  },
  "hsl": {
    "h": 340,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.07982,
    "h": 358.9
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#8A5164
secondary
#89AEA1
accent
#C2A365
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#100A0C
muted
#7F7C7D

Preview Lab

Preview with #8A5164

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

Preview Lab → · Contrast checker → · Palette generator →

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