#8A3879#8A3879

#8A3879 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.6% C 0.138 H 336.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8A3879
RGBrgb(138, 56, 121)
HSLhsl(312, 42%, 38%)
HSVhsv(312, 59%, 54%)
CMYKcmyk(0%, 59.4%, 12.3%, 45.9%)
CIE-LABlab(37.14, 43.22, -20.40)
CIE-LCHlch(37.14, 47.79, 334.73°)
OKLaboklab(47.6% 0.1261 -0.0553)
OKLCHoklch(47.6% 0.138 336.3)
XYZxyz(15.3467, 9.6133, 19.1327)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3879 #388A49
analogous
#72388A #8A3879 #8A3850
triadic
#8A3879 #798A38 #38798A
tetradic
#8A3879 #8A7238 #388A49 #38508A
square
#8A3879 #8A7238 #388A49 #38508A
split-complementary
#8A3879 #508A38 #388A72
monochromatic
#33152D #5E2653 #8A3879 #B54A9F #C775B6

Accessibility & contrast

On white

7.19
#8A3879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3879
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3879#FFFFFF#000000##FFFFFF
##8A38791.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#525C77
Tritanopia (blue-blind)
#913C53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3879;
/* rgb */ color: rgb(138, 56, 121);
/* oklch */ color: oklch(47.6% 0.138 336.3);
Tailwind
colors: {
  custom: {
    50: '#af73a0',
    500: '#8a3879',
    950: '#000000',
  },
}
SCSS
$custom: #8a3879;
$custom-light: #af73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3879",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 312.439,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.1377,
    "h": 336.3
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#8A3879
secondary
#6EB07B
accent
#D27056
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3879

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

Preview Lab → · Contrast checker → · Palette generator →

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