#8A3873#8A3873

#8A3873 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.3% C 0.133 H 339.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A3873
RGBrgb(138, 56, 115)
HSLhsl(317, 42%, 38%)
HSVhsv(317, 59%, 54%)
CMYKcmyk(0%, 59.4%, 16.7%, 45.9%)
CIE-LABlab(36.88, 42.23, -17.07)
CIE-LCHlch(36.88, 45.55, 338.00°)
OKLaboklab(47.32% 0.1249 -0.0459)
OKLCHoklch(47.32% 0.133 339.8)
XYZxyz(14.9902, 9.4707, 17.2549)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3873 #388A4F
analogous
#78388A #8A3873 #8A384A
triadic
#8A3873 #738A38 #38738A
tetradic
#8A3873 #8A7838 #388A4F #384A8A
square
#8A3873 #8A7838 #388A4F #384A8A
split-complementary
#8A3873 #4A8A38 #388A78
monochromatic
#33152A #5E264F #8A3873 #B54A97 #C775B0

Accessibility & contrast

On white

7.26
#8A3873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3873
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3873#FFFFFF#000000##FFFFFF
##8A38731.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3873;
/* rgb */ color: rgb(138, 56, 115);
/* oklch */ color: oklch(47.3% 0.133 339.8);
Tailwind
colors: {
  custom: {
    50: '#af739b',
    500: '#8a3873',
    950: '#000000',
  },
}
SCSS
$custom: #8a3873;
$custom-light: #af739b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3873",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 316.829,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.13301,
    "h": 339.8
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#8A3873
secondary
#6EB080
accent
#D27956
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3873

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

Preview Lab → · Contrast checker → · Palette generator →

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