#8A3B71#8A3B71

#8A3B71 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.6% C 0.127 H 341.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8A3B71
RGBrgb(138, 59, 113)
HSLhsl(319, 40%, 39%)
HSVhsv(319, 57%, 54%)
CMYKcmyk(0%, 57.2%, 18.1%, 45.9%)
CIE-LABlab(37.34, 40.43, -15.10)
CIE-LCHlch(37.34, 43.15, 339.52°)
OKLaboklab(47.63% 0.1199 -0.0404)
OKLCHoklch(47.63% 0.127 341.4)
XYZxyz(15.0261, 9.7247, 16.7052)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B71 #3B8A54
analogous
#7B3B8A #8A3B71 #8A3B49
triadic
#8A3B71 #718A3B #3B718A
tetradic
#8A3B71 #8A7B3B #3B8A54 #3B498A
square
#8A3B71 #8A7B3B #3B8A54 #3B498A
split-complementary
#8A3B71 #498A3B #3B8A7B
monochromatic
#34162B #5F294E #8A3B71 #B44F94 #C679AE

Accessibility & contrast

On white

7.13
#8A3B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A3B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3B71
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B71#FFFFFF#000000##FFFFFF
##8A3B711.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#923C51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3b71;
/* rgb */ color: rgb(138, 59, 113);
/* oklch */ color: oklch(47.6% 0.127 341.4);
Tailwind
colors: {
  custom: {
    50: '#ae759a',
    500: '#8a3b71',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b71;
$custom-light: #ae759a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b71",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 318.987,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.12655,
    "h": 341.4
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#8A3B71
secondary
#71AF85
accent
#D07E58
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3B71

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

Preview Lab → · Contrast checker → · Palette generator →

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