#8A3876#8A3876

#8A3876 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.5% C 0.135 H 338.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A3876
RGBrgb(138, 56, 118)
HSLhsl(315, 42%, 38%)
HSVhsv(315, 59%, 54%)
CMYKcmyk(0%, 59.4%, 14.5%, 45.9%)
CIE-LABlab(37.01, 42.72, -18.74)
CIE-LCHlch(37.01, 46.65, 336.32°)
OKLaboklab(47.45% 0.1255 -0.0506)
OKLCHoklch(47.45% 0.135 338.1)
XYZxyz(15.1656, 9.5408, 18.1788)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3876 #388A4C
analogous
#75388A #8A3876 #8A384D
triadic
#8A3876 #768A38 #38768A
tetradic
#8A3876 #8A7538 #388A4C #384D8A
square
#8A3876 #8A7538 #388A4C #384D8A
split-complementary
#8A3876 #4D8A38 #388A75
monochromatic
#33152C #5E2651 #8A3876 #B54A9B #C775B3

Accessibility & contrast

On white

7.22
#8A3876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3876
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3876#FFFFFF#000000##FFFFFF
##8A38761.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#535C74
Tritanopia (blue-blind)
#913B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3876;
/* rgb */ color: rgb(138, 56, 118);
/* oklch */ color: oklch(47.5% 0.135 338.1);
Tailwind
colors: {
  custom: {
    50: '#af739d',
    500: '#8a3876',
    950: '#000000',
  },
}
SCSS
$custom: #8a3876;
$custom-light: #af739d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3876",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 314.634,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.13531,
    "h": 338.1
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#8A3876
secondary
#6EB07E
accent
#D27456
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3876

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

Preview Lab → · Contrast checker → · Palette generator →

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