#8A3164#8A3164

#8A3164 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.134 H 348.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A3164
RGBrgb(138, 49, 100)
HSLhsl(326, 48%, 37%)
HSVhsv(326, 64%, 54%)
CMYKcmyk(0%, 64.5%, 27.5%, 45.9%)
CIE-LABlab(35.05, 43.28, -10.39)
CIE-LCHlch(35.05, 44.51, 346.50°)
OKLaboklab(45.76% 0.1311 -0.0273)
OKLCHoklch(45.76% 0.134 348.2)
XYZxyz(13.8804, 8.5214, 12.9679)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3164 #318A57
analogous
#84318A #8A3164 #8A3138
triadic
#8A3164 #648A31 #31648A
tetradic
#8A3164 #8A8431 #318A57 #31388A
square
#8A3164 #8A8431 #318A57 #31388A
split-complementary
#8A3164 #388A31 #318A84
monochromatic
#301123 #5D2143 #8A3164 #B74185 #CA6BA2

Accessibility & contrast

On white

7.77
#8A3164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A3164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3164
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3164#FFFFFF#000000##FFFFFF
##8A31641.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4966
Deuteranopia (green-blind)
#555862
Tritanopia (blue-blind)
#942E46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3164;
/* rgb */ color: rgb(138, 49, 100);
/* oklch */ color: oklch(45.8% 0.134 348.2);
Tailwind
colors: {
  custom: {
    50: '#af6f90',
    500: '#8a3164',
    950: '#000000',
  },
}
SCSS
$custom: #8a3164;
$custom-light: #af6f90;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3164",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 100
  },
  "hsl": {
    "h": 325.618,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.13386,
    "h": 348.2
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#8A3164
secondary
#65B286
accent
#D78A51
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3164

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

Preview Lab → · Contrast checker → · Palette generator →

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