#8A3872#8A3872

#8A3872 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.3% C 0.132 H 340.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A3872
RGBrgb(138, 56, 114)
HSLhsl(318, 42%, 38%)
HSVhsv(318, 59%, 54%)
CMYKcmyk(0%, 59.4%, 17.4%, 45.9%)
CIE-LABlab(36.83, 42.07, -16.51)
CIE-LCHlch(36.83, 45.19, 338.58°)
OKLaboklab(47.27% 0.1246 -0.0443)
OKLCHoklch(47.27% 0.132 340.4)
XYZxyz(14.9330, 9.4478, 16.9534)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3872 #388A50
analogous
#79388A #8A3872 #8A3849
triadic
#8A3872 #728A38 #38728A
tetradic
#8A3872 #8A7938 #388A50 #38498A
square
#8A3872 #8A7938 #388A50 #38498A
split-complementary
#8A3872 #498A38 #388A79
monochromatic
#33152A #5E264E #8A3872 #B54A96 #C775AF

Accessibility & contrast

On white

7.27
#8A3872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A3872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3872
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3872#FFFFFF#000000##FFFFFF
##8A38721.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#923A50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3872;
/* rgb */ color: rgb(138, 56, 114);
/* oklch */ color: oklch(47.3% 0.132 340.4);
Tailwind
colors: {
  custom: {
    50: '#af739a',
    500: '#8a3872',
    950: '#000000',
  },
}
SCSS
$custom: #8a3872;
$custom-light: #af739a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3872",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 317.561,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.13226,
    "h": 340.4
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#8A3872
secondary
#6EB081
accent
#D27A56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3872

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

Preview Lab → · Contrast checker → · Palette generator →

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