#8A3272#8A3272

#8A3272 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.142 H 339.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8A3272
RGBrgb(138, 50, 114)
HSLhsl(316, 47%, 37%)
HSVhsv(316, 64%, 54%)
CMYKcmyk(0%, 63.8%, 17.4%, 45.9%)
CIE-LABlab(35.79, 44.90, -18.11)
CIE-LCHlch(35.79, 48.41, 338.04°)
OKLaboklab(46.5% 0.1331 -0.0487)
OKLCHoklch(46.5% 0.142 339.9)
XYZxyz(14.6594, 8.9007, 16.8623)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3272 #328A4A
analogous
#76328A #8A3272 #8A3246
triadic
#8A3272 #728A32 #32728A
tetradic
#8A3272 #8A7632 #328A4A #32468A
square
#8A3272 #8A7632 #328A4A #32468A
split-complementary
#8A3272 #468A32 #328A76
monochromatic
#301128 #5D224D #8A3272 #B74297 #CA6CB0

Accessibility & contrast

On white

7.55
#8A3272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A3272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3272
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3272#FFFFFF#000000##FFFFFF
##8A32721.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#92344D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3272;
/* rgb */ color: rgb(138, 50, 114);
/* oklch */ color: oklch(46.5% 0.142 339.9);
Tailwind
colors: {
  custom: {
    50: '#af709a',
    500: '#8a3272',
    950: '#000000',
  },
}
SCSS
$custom: #8a3272;
$custom-light: #af709a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3272",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 316.364,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46504,
    "c": 0.14172,
    "h": 339.9
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#8A3272
secondary
#66B27B
accent
#D67651
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3272

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

Preview Lab → · Contrast checker → · Palette generator →

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