#8A3154#8A3154

#8A3154 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.126 H 359.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3154
RGBrgb(138, 49, 84)
HSLhsl(336, 48%, 37%)
HSVhsv(336, 64%, 54%)
CMYKcmyk(0%, 64.5%, 39.1%, 45.9%)
CIE-LABlab(34.48, 41.21, -0.99)
CIE-LCHlch(34.48, 41.22, 358.63°)
OKLaboklab(45.16% 0.1259 -0.0021)
OKLCHoklch(45.16% 0.126 359.1)
XYZxyz(13.1806, 8.2415, 9.2824)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3154 #318A67
analogous
#8A3181 #8A3154 #8A3A31
triadic
#8A3154 #548A31 #31548A
tetradic
#8A3154 #818A31 #318A67 #3A318A
square
#8A3154 #818A31 #318A67 #3A318A
split-complementary
#8A3154 #318A3A #31818A
monochromatic
#30111D #5D2139 #8A3154 #B7416F #CA6B91

Accessibility & contrast

On white

7.93
#8A3154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A3154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3154
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3154#FFFFFF#000000##FFFFFF
##8A31541.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414655
Deuteranopia (green-blind)
#595752
Tritanopia (blue-blind)
#95293F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3154;
/* rgb */ color: rgb(138, 49, 84);
/* oklch */ color: oklch(45.2% 0.126 359.1);
Tailwind
colors: {
  custom: {
    50: '#b06e84',
    500: '#8a3154',
    950: '#000000',
  },
}
SCSS
$custom: #8a3154;
$custom-light: #b06e84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3154",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 336.404,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.12594,
    "h": 359.1
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#8A3154
secondary
#65B294
accent
#D7A251
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A3154

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

Preview Lab → · Contrast checker → · Palette generator →

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