#8A3076#8A3076

#8A3076 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.148 H 337.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A3076
RGBrgb(138, 48, 118)
HSLhsl(313, 48%, 36%)
HSVhsv(313, 65%, 54%)
CMYKcmyk(0%, 65.2%, 14.5%, 45.9%)
CIE-LABlab(35.65, 46.43, -20.84)
CIE-LCHlch(35.65, 50.89, 335.83°)
OKLaboklab(46.46% 0.1365 -0.0564)
OKLCHoklch(46.46% 0.148 337.5)
XYZxyz(14.8084, 8.8264, 18.0598)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3076 #308A44
analogous
#71308A #8A3076 #8A3049
triadic
#8A3076 #768A30 #30768A
tetradic
#8A3076 #8A7130 #308A44 #30498A
square
#8A3076 #8A7130 #308A44 #30498A
split-complementary
#8A3076 #498A30 #308A71
monochromatic
#2F1028 #5D204F #8A3076 #B7409D #CB69B5

Accessibility & contrast

On white

7.59
#8A3076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A3076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3076
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3076#FFFFFF#000000##FFFFFF
##8A30761.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#4F5974
Tritanopia (blue-blind)
#91344E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3076;
/* rgb */ color: rgb(138, 48, 118);
/* oklch */ color: oklch(46.5% 0.148 337.5);
Tailwind
colors: {
  custom: {
    50: '#af6f9d',
    500: '#8a3076',
    950: '#000000',
  },
}
SCSS
$custom: #8a3076;
$custom-light: #af6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3076",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 313.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.14772,
    "h": 337.5
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#8A3076
secondary
#64B275
accent
#D86E50
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3076

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

Preview Lab → · Contrast checker → · Palette generator →

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