#8A3277#8A3277

#8A3277 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.145 H 337.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8A3277
RGBrgb(138, 50, 119)
HSLhsl(313, 47%, 37%)
HSVhsv(313, 64%, 54%)
CMYKcmyk(0%, 63.8%, 13.8%, 45.9%)
CIE-LABlab(36.02, 45.70, -20.89)
CIE-LCHlch(36.02, 50.24, 335.43°)
OKLaboklab(46.74% 0.134 -0.0566)
OKLCHoklch(46.74% 0.146 337.1)
XYZxyz(14.9518, 9.0176, 18.4023)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3277 #328A45
analogous
#71328A #8A3277 #8A324B
triadic
#8A3277 #778A32 #32778A
tetradic
#8A3277 #8A7132 #328A45 #324B8A
square
#8A3277 #8A7132 #328A45 #324B8A
split-complementary
#8A3277 #4B8A32 #328A71
monochromatic
#30112A #5D2250 #8A3277 #B7429E #CA6CB6

Accessibility & contrast

On white

7.49
#8A3277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A3277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3277
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3277#FFFFFF#000000##FFFFFF
##8A32771.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C79
Deuteranopia (green-blind)
#4F5A75
Tritanopia (blue-blind)
#913650
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3277;
/* rgb */ color: rgb(138, 50, 119);
/* oklch */ color: oklch(46.7% 0.145 337.1);
Tailwind
colors: {
  custom: {
    50: '#af709e',
    500: '#8a3277',
    950: '#000000',
  },
}
SCSS
$custom: #8a3277;
$custom-light: #af709e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3277",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 312.955,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46743,
    "c": 0.1455,
    "h": 337.1
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#8A3277
secondary
#66B276
accent
#D66E51
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3277

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

Preview Lab → · Contrast checker → · Palette generator →

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