#8A3470#8A3470

#8A3470 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.137 H 341.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8A3470
RGBrgb(138, 52, 112)
HSLhsl(318, 45%, 37%)
HSVhsv(318, 62%, 54%)
CMYKcmyk(0%, 62.3%, 18.8%, 45.9%)
CIE-LABlab(36.04, 43.66, -16.46)
CIE-LCHlch(36.04, 46.67, 339.34°)
OKLaboklab(46.66% 0.1299 -0.0441)
OKLCHoklch(46.66% 0.137 341.2)
XYZxyz(14.6342, 9.0304, 16.2984)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3470 #348A4E
analogous
#79348A #8A3470 #8A3445
triadic
#8A3470 #708A34 #34708A
tetradic
#8A3470 #8A7934 #348A4E #34458A
square
#8A3470 #8A7934 #348A4E #34458A
split-complementary
#8A3470 #458A34 #348A79
monochromatic
#311328 #5E234C #8A3470 #B64594 #C96FAE

Accessibility & contrast

On white

7.48
#8A3470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A3470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3470
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3470#FFFFFF#000000##FFFFFF
##8A34701.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C72
Deuteranopia (green-blind)
#535A6E
Tritanopia (blue-blind)
#92354D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3470;
/* rgb */ color: rgb(138, 52, 112);
/* oklch */ color: oklch(46.7% 0.137 341.2);
Tailwind
colors: {
  custom: {
    50: '#af7199',
    500: '#8a3470',
    950: '#000000',
  },
}
SCSS
$custom: #8a3470;
$custom-light: #af7199;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3470",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 318.14,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.13717,
    "h": 341.2
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#8A3470
secondary
#69B17F
accent
#D57A53
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3470

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

Preview Lab → · Contrast checker → · Palette generator →

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