#8A3877#8A3877

#8A3877 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.5% C 0.136 H 337.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A3877
RGBrgb(138, 56, 119)
HSLhsl(314, 42%, 38%)
HSVhsv(314, 59%, 54%)
CMYKcmyk(0%, 59.4%, 13.8%, 45.9%)
CIE-LABlab(37.05, 42.89, -19.30)
CIE-LCHlch(37.05, 47.03, 335.78°)
OKLaboklab(47.5% 0.1257 -0.0521)
OKLCHoklch(47.5% 0.136 337.5)
XYZxyz(15.2254, 9.5647, 18.4935)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3877 #388A4B
analogous
#74388A #8A3877 #8A384E
triadic
#8A3877 #778A38 #38778A
tetradic
#8A3877 #8A7438 #388A4B #384E8A
square
#8A3877 #8A7438 #388A4B #384E8A
split-complementary
#8A3877 #4E8A38 #388A74
monochromatic
#33152C #5E2651 #8A3877 #B54A9C #C775B4

Accessibility & contrast

On white

7.21
#8A3877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A3877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3877
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3877#FFFFFF#000000##FFFFFF
##8A38771.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F79
Deuteranopia (green-blind)
#525C75
Tritanopia (blue-blind)
#913B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3877;
/* rgb */ color: rgb(138, 56, 119);
/* oklch */ color: oklch(47.5% 0.136 337.5);
Tailwind
colors: {
  custom: {
    50: '#af739e',
    500: '#8a3877',
    950: '#000000',
  },
}
SCSS
$custom: #8a3877;
$custom-light: #af739e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3877",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 313.902,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.1361,
    "h": 337.5
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#8A3877
secondary
#6EB07D
accent
#D27356
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3877

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

Preview Lab → · Contrast checker → · Palette generator →

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