#8A3071#8A3071

#8A3071 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.144 H 340.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8A3071
RGBrgb(138, 48, 113)
HSLhsl(317, 48%, 36%)
HSVhsv(317, 65%, 54%)
CMYKcmyk(0%, 65.2%, 18.1%, 45.9%)
CIE-LABlab(35.42, 45.64, -18.05)
CIE-LCHlch(35.42, 49.08, 338.42°)
OKLaboklab(46.22% 0.1356 -0.0486)
OKLCHoklch(46.22% 0.144 340.3)
XYZxyz(14.5192, 8.7107, 16.5362)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3071 #308A49
analogous
#76308A #8A3071 #8A3044
triadic
#8A3071 #718A30 #30718A
tetradic
#8A3071 #8A7630 #308A49 #30448A
square
#8A3071 #8A7630 #308A49 #30448A
split-complementary
#8A3071 #448A30 #308A76
monochromatic
#2F1027 #5D204C #8A3071 #B74096 #CB69B0

Accessibility & contrast

On white

7.66
#8A3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3071
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3071#FFFFFF#000000##FFFFFF
##8A30711.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#50596F
Tritanopia (blue-blind)
#92324C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3071;
/* rgb */ color: rgb(138, 48, 113);
/* oklch */ color: oklch(46.2% 0.144 340.3);
Tailwind
colors: {
  custom: {
    50: '#af6f9a',
    500: '#8a3071',
    950: '#000000',
  },
}
SCSS
$custom: #8a3071;
$custom-light: #af6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3071",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 316.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.144,
    "h": 340.3
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#8A3071
secondary
#64B279
accent
#D87650
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3071

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

Preview Lab → · Contrast checker → · Palette generator →

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