#8A3168#8A3168

#8A3168 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.136 H 345.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8A3168
RGBrgb(138, 49, 104)
HSLhsl(323, 48%, 37%)
HSVhsv(323, 64%, 54%)
CMYKcmyk(0%, 64.5%, 24.6%, 45.9%)
CIE-LABlab(35.20, 43.85, -12.69)
CIE-LCHlch(35.20, 45.65, 343.85°)
OKLaboklab(45.93% 0.1321 -0.0336)
OKLCHoklch(45.93% 0.136 345.7)
XYZxyz(14.0787, 8.6007, 14.0127)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3168 #318A53
analogous
#80318A #8A3168 #8A313C
triadic
#8A3168 #688A31 #31688A
tetradic
#8A3168 #8A8031 #318A53 #313C8A
square
#8A3168 #8A8031 #318A53 #313C8A
split-complementary
#8A3168 #3C8A31 #318A80
monochromatic
#301124 #5D2146 #8A3168 #B7418A #CA6BA6

Accessibility & contrast

On white

7.72
#8A3168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A3168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3168
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3168#FFFFFF#000000##FFFFFF
##8A31681.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A496A
Deuteranopia (green-blind)
#545866
Tritanopia (blue-blind)
#933048
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3168;
/* rgb */ color: rgb(138, 49, 104);
/* oklch */ color: oklch(45.9% 0.136 345.7);
Tailwind
colors: {
  custom: {
    50: '#af6f93',
    500: '#8a3168',
    950: '#000000',
  },
}
SCSS
$custom: #8a3168;
$custom-light: #af6f93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3168",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 322.921,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.13634,
    "h": 345.7
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#8A3168
secondary
#65B282
accent
#D78451
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A3168

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

Preview Lab → · Contrast checker → · Palette generator →

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