#8B2A76#8B2A76

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

Color values

HEX#8B2A76
RGBrgb(139, 42, 118)
HSLhsl(313, 54%, 35%)
HSVhsv(313, 70%, 55%)
CMYKcmyk(0%, 69.8%, 15.1%, 45.5%)
CIE-LABlab(34.91, 49.22, -21.97)
CIE-LCHlch(34.91, 53.90, 335.95°)
OKLaboklab(45.95% 0.1451 -0.0596)
OKLCHoklch(45.95% 0.157 337.7)
XYZxyz(14.7457, 8.4542, 17.9913)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A76 #2A8B3F
analogous
#6F2A8B #8B2A76 #8B2A45
triadic
#8B2A76 #768B2A #2A768B
tetradic
#8B2A76 #8B6F2A #2A8B3F #2A458B
square
#8B2A76 #8B6F2A #2A8B3F #2A458B
split-complementary
#8B2A76 #458B2A #2A8B6F
monochromatic
#2D0E26 #5C1C4E #8B2A76 #BA389E #CF60B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2A76#FFFFFF#000000##FFFFFF
##8B2A761.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)
#2D4978
Deuteranopia (green-blind)
#4D5874
Tritanopia (blue-blind)
#932F4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2a76;
/* rgb */ color: rgb(139, 42, 118);
/* oklch */ color: oklch(46.0% 0.157 337.7);
Tailwind
colors: {
  custom: {
    50: '#b06c9d',
    500: '#8b2a76',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a76;
$custom-light: #b06c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a76",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 312.99,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.15685,
    "h": 337.7
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#8B2A76
secondary
#5CB56F
accent
#DD6A4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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