#8A3577#8A3577

#8A3577 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.1% C 0.141 H 337.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A3577
RGBrgb(138, 53, 119)
HSLhsl(313, 45%, 37%)
HSVhsv(313, 62%, 54%)
CMYKcmyk(0%, 61.6%, 13.8%, 45.9%)
CIE-LABlab(36.52, 44.32, -20.11)
CIE-LCHlch(36.52, 48.66, 335.59°)
OKLaboklab(47.11% 0.13 -0.0544)
OKLCHoklch(47.11% 0.141 337.3)
XYZxyz(15.0843, 9.2826, 18.4464)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3577 #358A48
analogous
#73358A #8A3577 #8A354C
triadic
#8A3577 #778A35 #35778A
tetradic
#8A3577 #8A7335 #358A48 #354C8A
square
#8A3577 #8A7335 #358A48 #354C8A
split-complementary
#8A3577 #4C8A35 #358A73
monochromatic
#32132B #5E2451 #8A3577 #B6469D #C871B5

Accessibility & contrast

On white

7.35
#8A3577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A3577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3577
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3577#FFFFFF#000000##FFFFFF
##8A35771.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E79
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#913951
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3577;
/* rgb */ color: rgb(138, 53, 119);
/* oklch */ color: oklch(47.1% 0.141 337.3);
Tailwind
colors: {
  custom: {
    50: '#af729e',
    500: '#8a3577',
    950: '#000000',
  },
}
SCSS
$custom: #8a3577;
$custom-light: #af729e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3577",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 119
  },
  "hsl": {
    "h": 313.412,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.14088,
    "h": 337.3
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#8A3577
secondary
#6AB17A
accent
#D47054
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3577

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

Preview Lab → · Contrast checker → · Palette generator →

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