#8A3578#8A3578

#8A3578 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.142 H 336.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A3578
RGBrgb(138, 53, 120)
HSLhsl(313, 45%, 37%)
HSVhsv(313, 62%, 54%)
CMYKcmyk(0%, 61.6%, 13%, 45.9%)
CIE-LABlab(36.57, 44.48, -20.66)
CIE-LCHlch(36.57, 49.04, 335.08°)
OKLaboklab(47.16% 0.1301 -0.056)
OKLCHoklch(47.16% 0.142 336.7)
XYZxyz(15.1447, 9.3068, 18.7644)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3578 #358A47
analogous
#72358A #8A3578 #8A354D
triadic
#8A3578 #788A35 #35788A
tetradic
#8A3578 #8A7235 #358A47 #354D8A
square
#8A3578 #8A7235 #358A47 #354D8A
split-complementary
#8A3578 #4D8A35 #358A72
monochromatic
#32132B #5E2452 #8A3578 #B6469E #C871B6

Accessibility & contrast

On white

7.34
#8A3578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3578
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3578#FFFFFF#000000##FFFFFF
##8A35781.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#505B76
Tritanopia (blue-blind)
#913951
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3578;
/* rgb */ color: rgb(138, 53, 120);
/* oklch */ color: oklch(47.2% 0.142 336.7);
Tailwind
colors: {
  custom: {
    50: '#af729f',
    500: '#8a3578',
    950: '#000000',
  },
}
SCSS
$custom: #8a3578;
$custom-light: #af729f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3578",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 120
  },
  "hsl": {
    "h": 312.706,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.14167,
    "h": 336.7
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#8A3578
secondary
#6AB179
accent
#D46F54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3578

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

Preview Lab → · Contrast checker → · Palette generator →

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