#8A3372#8A3372

#8A3372 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.6% C 0.140 H 340.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8A3372
RGBrgb(138, 51, 114)
HSLhsl(317, 46%, 37%)
HSVhsv(317, 63%, 54%)
CMYKcmyk(0%, 63%, 17.4%, 45.9%)
CIE-LABlab(35.96, 44.44, -17.85)
CIE-LCHlch(35.96, 47.89, 338.12°)
OKLaboklab(46.63% 0.1317 -0.048)
OKLCHoklch(46.63% 0.14 340)
XYZxyz(14.7026, 8.9871, 16.8767)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3372 #338A4B
analogous
#77338A #8A3372 #8A3346
triadic
#8A3372 #728A33 #33728A
tetradic
#8A3372 #8A7733 #338A4B #33468A
square
#8A3372 #8A7733 #338A4B #33468A
split-complementary
#8A3372 #468A33 #338A77
monochromatic
#311228 #5D224D #8A3372 #B74497 #C96EB0

Accessibility & contrast

On white

7.51
#8A3372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A3372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3372
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3372#FFFFFF#000000##FFFFFF
##8A33721.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#92354E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3372;
/* rgb */ color: rgb(138, 51, 114);
/* oklch */ color: oklch(46.6% 0.140 340.0);
Tailwind
colors: {
  custom: {
    50: '#af709a',
    500: '#8a3372',
    950: '#000000',
  },
}
SCSS
$custom: #8a3372;
$custom-light: #af709a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3372",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 316.552,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.14019,
    "h": 340
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#8A3372
secondary
#67B17C
accent
#D67652
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3372

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

Preview Lab → · Contrast checker → · Palette generator →

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