#8A2B76#8A2B76

#8A2B76 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.155 H 337.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2B76
RGBrgb(138, 43, 118)
HSLhsl(313, 52%, 35%)
HSVhsv(313, 69%, 54%)
CMYKcmyk(0%, 68.8%, 14.5%, 45.9%)
CIE-LABlab(34.88, 48.55, -22.03)
CIE-LCHlch(34.88, 53.31, 335.60°)
OKLaboklab(45.9% 0.1428 -0.0598)
OKLCHoklch(45.9% 0.155 337.3)
XYZxyz(14.6154, 8.4403, 17.9954)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B76 #2B8A3F
analogous
#6E2B8A #8A2B76 #8A2B46
triadic
#8A2B76 #768A2B #2B768A
tetradic
#8A2B76 #8A6E2B #2B8A3F #2B468A
square
#8A2B76 #8A6E2B #2B8A3F #2B468A
split-complementary
#8A2B76 #468A2B #2B8A6E
monochromatic
#2D0E26 #5B1C4E #8A2B76 #B93A9E #CE61B7

Accessibility & contrast

On white

7.81
#8A2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B76
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B76#FFFFFF#000000##FFFFFF
##8A2B761.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#4C5774
Tritanopia (blue-blind)
#91304C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2b76;
/* rgb */ color: rgb(138, 43, 118);
/* oklch */ color: oklch(45.9% 0.155 337.3);
Tailwind
colors: {
  custom: {
    50: '#af6c9d',
    500: '#8a2b76',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b76;
$custom-light: #af6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b76",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 312.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.459,
    "c": 0.15483,
    "h": 337.3
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#8A2B76
secondary
#5DB46F
accent
#DC6A4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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