#8A3163#8A3163

#8A3163 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.133 H 348.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8A3163
RGBrgb(138, 49, 99)
HSLhsl(326, 48%, 37%)
HSVhsv(326, 64%, 54%)
CMYKcmyk(0%, 64.5%, 28.3%, 45.9%)
CIE-LABlab(35.01, 43.14, -9.81)
CIE-LCHlch(35.01, 44.24, 347.19°)
OKLaboklab(45.72% 0.1308 -0.0257)
OKLCHoklch(45.72% 0.133 348.9)
XYZxyz(13.8323, 8.5021, 12.7146)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3163 #318A58
analogous
#85318A #8A3163 #8A3137
triadic
#8A3163 #638A31 #31638A
tetradic
#8A3163 #8A8531 #318A58 #31378A
square
#8A3163 #8A8531 #318A58 #31378A
split-complementary
#8A3163 #378A31 #318A85
monochromatic
#301122 #5D2143 #8A3163 #B74183 #CA6BA1

Accessibility & contrast

On white

7.78
#8A3163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A3163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3163
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3163#FFFFFF#000000##FFFFFF
##8A31631.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4865
Deuteranopia (green-blind)
#555861
Tritanopia (blue-blind)
#942E45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3163;
/* rgb */ color: rgb(138, 49, 99);
/* oklch */ color: oklch(45.7% 0.133 348.9);
Tailwind
colors: {
  custom: {
    50: '#af6f8f',
    500: '#8a3163',
    950: '#000000',
  },
}
SCSS
$custom: #8a3163;
$custom-light: #af6f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3163",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 99
  },
  "hsl": {
    "h": 326.292,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.13327,
    "h": 348.9
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#8A3163
secondary
#65B287
accent
#D78C51
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3163

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

Preview Lab → · Contrast checker → · Palette generator →

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