#8A5168#8A5168

#8A5168 is a mid, moderate pink. Relative luminance 0.123; OKLCH L 50.8% C 0.082 H 354.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A5168
RGBrgb(138, 81, 104)
HSLhsl(336, 26%, 43%)
HSVhsv(336, 41%, 54%)
CMYKcmyk(0%, 41.3%, 24.6%, 45.9%)
CIE-LABlab(41.67, 27.05, -3.00)
CIE-LCHlch(41.67, 27.21, 353.68°)
OKLaboklab(50.77% 0.0813 -0.0076)
OKLCHoklch(50.77% 0.082 354.7)
XYZxyz(15.9227, 12.2887, 14.6273)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5168 #518A73
analogous
#8A5184 #8A5168 #8A5651
triadic
#8A5168 #688A51 #51688A
tetradic
#8A5168 #848A51 #518A73 #56518A
square
#8A5168 #848A51 #518A73 #56518A
split-complementary
#8A5168 #518A56 #51848A
monochromatic
#3D242E #633A4B #8A5168 #AA6E86 #C195A6

Accessibility & contrast

On white

6.07
#8A5168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A5168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5168
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5168#FFFFFF#000000##FFFFFF
##8A51681.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585C69
Deuteranopia (green-blind)
#666667
Tritanopia (blue-blind)
#924E59
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a5168;
/* rgb */ color: rgb(138, 81, 104);
/* oklch */ color: oklch(50.8% 0.082 354.7);
Tailwind
colors: {
  custom: {
    50: '#ad8393',
    500: '#8a5168',
    950: '#000000',
  },
}
SCSS
$custom: #8a5168;
$custom-light: #ad8393;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5168",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 104
  },
  "hsl": {
    "h": 335.789,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.08167,
    "h": 354.7
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#8A5168
secondary
#89AE9F
accent
#C29D65
background
#FAF8F9
surface
#F4EFF1
border
#CECACB
text
#100A0D
muted
#7F7C7E

Preview Lab

Preview with #8A5168

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

Preview Lab → · Contrast checker → · Palette generator →

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