#8A3A6E#8A3A6E

#8A3A6E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.4% C 0.126 H 343.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A3A6E
RGBrgb(138, 58, 110)
HSLhsl(321, 41%, 38%)
HSVhsv(321, 58%, 54%)
CMYKcmyk(0%, 58%, 20.3%, 45.9%)
CIE-LABlab(37.03, 40.45, -13.69)
CIE-LCHlch(37.03, 42.71, 341.30°)
OKLaboklab(47.36% 0.1207 -0.0365)
OKLCHoklch(47.36% 0.126 343.2)
XYZxyz(14.8091, 9.5564, 15.8134)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A6E #3A8A56
analogous
#7E3A8A #8A3A6E #8A3A46
triadic
#8A3A6E #6E8A3A #3A6E8A
tetradic
#8A3A6E #8A7E3A #3A8A56 #3A468A
square
#8A3A6E #8A7E3A #3A8A56 #3A468A
split-complementary
#8A3A6E #468A3A #3A8A7E
monochromatic
#341629 #5F284C #8A3A6E #B44D90 #C678AB

Accessibility & contrast

On white

7.21
#8A3A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A3A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3A6E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A6E#FFFFFF#000000##FFFFFF
##8A3A6E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#575C6C
Tritanopia (blue-blind)
#923A4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3a6e;
/* rgb */ color: rgb(138, 58, 110);
/* oklch */ color: oklch(47.4% 0.126 343.2);
Tailwind
colors: {
  custom: {
    50: '#af7497',
    500: '#8a3a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a6e;
$custom-light: #af7497;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a6e",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 110
  },
  "hsl": {
    "h": 321,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47364,
    "c": 0.12605,
    "h": 343.2
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#8A3A6E
secondary
#70B086
accent
#D18257
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A3A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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