#8A3077#8A3077

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

Color values

HEX#8A3077
RGBrgb(138, 48, 119)
HSLhsl(313, 48%, 36%)
HSVhsv(313, 65%, 54%)
CMYKcmyk(0%, 65.2%, 13.8%, 45.9%)
CIE-LABlab(35.69, 46.59, -21.39)
CIE-LCHlch(35.69, 51.26, 335.33°)
OKLaboklab(46.51% 0.1367 -0.058)
OKLCHoklch(46.51% 0.148 337)
XYZxyz(14.8682, 8.8503, 18.3744)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3077 #308A43
analogous
#70308A #8A3077 #8A304A
triadic
#8A3077 #778A30 #30778A
tetradic
#8A3077 #8A7030 #308A43 #304A8A
square
#8A3077 #8A7030 #308A43 #304A8A
split-complementary
#8A3077 #4A8A30 #308A70
monochromatic
#2F1029 #5D2050 #8A3077 #B7409E #CB69B6

Accessibility & contrast

On white

7.58
#8A3077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A3077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3077
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3077#FFFFFF#000000##FFFFFF
##8A30771.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#4E5975
Tritanopia (blue-blind)
#91344F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3077;
/* rgb */ color: rgb(138, 48, 119);
/* oklch */ color: oklch(46.5% 0.148 337.0);
Tailwind
colors: {
  custom: {
    50: '#af6f9e',
    500: '#8a3077',
    950: '#000000',
  },
}
SCSS
$custom: #8a3077;
$custom-light: #af6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3077",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 119
  },
  "hsl": {
    "h": 312.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.14849,
    "h": 337
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#8A3077
secondary
#64B274
accent
#D86D50
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3077

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

Preview Lab → · Contrast checker → · Palette generator →

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