#8A3160#8A3160

#8A3160 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.132 H 350.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A3160
RGBrgb(138, 49, 96)
HSLhsl(328, 48%, 37%)
HSVhsv(328, 64%, 54%)
CMYKcmyk(0%, 64.5%, 30.4%, 45.9%)
CIE-LABlab(34.89, 42.73, -8.07)
CIE-LCHlch(34.89, 43.49, 349.31°)
OKLaboklab(45.6% 0.1299 -0.0209)
OKLCHoklch(45.6% 0.132 350.8)
XYZxyz(13.6915, 8.4458, 11.9732)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3160 #318A5B
analogous
#88318A #8A3160 #8A3133
triadic
#8A3160 #608A31 #31608A
tetradic
#8A3160 #8A8831 #318A5B #31338A
square
#8A3160 #8A8831 #318A5B #31338A
split-complementary
#8A3160 #338A31 #318A88
monochromatic
#301121 #5D2141 #8A3160 #B7417F #CA6B9D

Accessibility & contrast

On white

7.81
#8A3160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A3160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3160
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3160#FFFFFF#000000##FFFFFF
##8A31601.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4861
Deuteranopia (green-blind)
#56585E
Tritanopia (blue-blind)
#942D44
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3160;
/* rgb */ color: rgb(138, 49, 96);
/* oklch */ color: oklch(45.6% 0.132 350.8);
Tailwind
colors: {
  custom: {
    50: '#af6f8d',
    500: '#8a3160',
    950: '#000000',
  },
}
SCSS
$custom: #8a3160;
$custom-light: #af6f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3160",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 328.315,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.13157,
    "h": 350.8
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#8A3160
secondary
#65B289
accent
#D79051
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3160

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

Preview Lab → · Contrast checker → · Palette generator →

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