#8A3072#8A3072

#8A3072 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.145 H 339.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8A3072
RGBrgb(138, 48, 114)
HSLhsl(316, 48%, 36%)
HSVhsv(316, 65%, 54%)
CMYKcmyk(0%, 65.2%, 17.4%, 45.9%)
CIE-LABlab(35.47, 45.79, -18.61)
CIE-LCHlch(35.47, 49.43, 337.88°)
OKLaboklab(46.26% 0.1358 -0.0501)
OKLCHoklch(46.26% 0.145 339.7)
XYZxyz(14.5758, 8.7334, 16.8344)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3072 #308A48
analogous
#75308A #8A3072 #8A3045
triadic
#8A3072 #728A30 #30728A
tetradic
#8A3072 #8A7530 #308A48 #30458A
square
#8A3072 #8A7530 #308A48 #30458A
split-complementary
#8A3072 #458A30 #308A75
monochromatic
#2F1027 #5D204C #8A3072 #B74098 #CB69B1

Accessibility & contrast

On white

7.65
#8A3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3072
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3072#FFFFFF#000000##FFFFFF
##8A30721.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#505970
Tritanopia (blue-blind)
#92324C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3072;
/* rgb */ color: rgb(138, 48, 114);
/* oklch */ color: oklch(46.3% 0.145 339.7);
Tailwind
colors: {
  custom: {
    50: '#af6f9a',
    500: '#8a3072',
    950: '#000000',
  },
}
SCSS
$custom: #8a3072;
$custom-light: #af6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3072",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 316,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.14473,
    "h": 339.7
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A3072

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

Preview Lab → · Contrast checker → · Palette generator →

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