#8A3460#8A3460

#8A3460 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.0% C 0.127 H 351.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8A3460
RGBrgb(138, 52, 96)
HSLhsl(329, 45%, 37%)
HSVhsv(329, 62%, 54%)
CMYKcmyk(0%, 62.3%, 30.4%, 45.9%)
CIE-LABlab(35.41, 41.33, -7.29)
CIE-LCHlch(35.41, 41.97, 349.99°)
OKLaboklab(45.99% 0.1256 -0.0189)
OKLCHoklch(45.99% 0.127 351.5)
XYZxyz(13.8212, 8.7052, 12.0164)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3460 #348A5E
analogous
#89348A #8A3460 #8A3435
triadic
#8A3460 #608A34 #34608A
tetradic
#8A3460 #8A8934 #348A5E #34358A
square
#8A3460 #8A8934 #348A5E #34358A
split-complementary
#8A3460 #358A34 #348A89
monochromatic
#311322 #5E2341 #8A3460 #B6457F #C96F9D

Accessibility & contrast

On white

7.66
#8A3460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A3460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3460
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3460#FFFFFF#000000##FFFFFF
##8A34601.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A61
Deuteranopia (green-blind)
#57595E
Tritanopia (blue-blind)
#943046
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3460;
/* rgb */ color: rgb(138, 52, 96);
/* oklch */ color: oklch(46.0% 0.127 351.5);
Tailwind
colors: {
  custom: {
    50: '#af708d',
    500: '#8a3460',
    950: '#000000',
  },
}
SCSS
$custom: #8a3460;
$custom-light: #af708d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3460",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 96
  },
  "hsl": {
    "h": 329.302,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.12697,
    "h": 351.5
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

primary
#8A3460
secondary
#69B18C
accent
#D59253
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3460

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

Preview Lab → · Contrast checker → · Palette generator →

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