#8A2B77#8A2B77

#8A2B77 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.156 H 336.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8A2B77
RGBrgb(138, 43, 119)
HSLhsl(312, 52%, 35%)
HSVhsv(312, 69%, 54%)
CMYKcmyk(0%, 68.8%, 13.8%, 45.9%)
CIE-LABlab(34.93, 48.70, -22.58)
CIE-LCHlch(34.93, 53.68, 335.13°)
OKLaboklab(45.95% 0.143 -0.0613)
OKLCHoklch(45.95% 0.156 336.8)
XYZxyz(14.6751, 8.4642, 18.3100)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B77 #2B8A3E
analogous
#6D2B8A #8A2B77 #8A2B47
triadic
#8A2B77 #778A2B #2B778A
tetradic
#8A2B77 #8A6D2B #2B8A3E #2B478A
square
#8A2B77 #8A6D2B #2B8A3E #2B478A
split-complementary
#8A2B77 #478A2B #2B8A6D
monochromatic
#2D0E27 #5B1C4F #8A2B77 #B93A9F #CE61B8

Accessibility & contrast

On white

7.80
#8A2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2B77
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B77#FFFFFF#000000##FFFFFF
##8A2B771.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#4C5775
Tritanopia (blue-blind)
#91304D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2b77;
/* rgb */ color: rgb(138, 43, 119);
/* oklch */ color: oklch(46.0% 0.156 336.8);
Tailwind
colors: {
  custom: {
    50: '#af6c9e',
    500: '#8a2b77',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b77;
$custom-light: #af6c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b77",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 312,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.15558,
    "h": 336.8
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#8A2B77
secondary
#5DB46E
accent
#DC694C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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