#8B2A79#8B2A79

#8B2A79 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.159 H 336.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8B2A79
RGBrgb(139, 42, 121)
HSLhsl(311, 54%, 35%)
HSVhsv(311, 70%, 55%)
CMYKcmyk(0%, 69.8%, 12.9%, 45.5%)
CIE-LABlab(35.06, 49.69, -23.63)
CIE-LCHlch(35.06, 55.02, 334.57°)
OKLaboklab(46.11% 0.1455 -0.0643)
OKLCHoklch(46.11% 0.159 336.2)
XYZxyz(14.9268, 8.5267, 18.9451)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A79 #2A8B3C
analogous
#6C2A8B #8B2A79 #8B2A48
triadic
#8B2A79 #798B2A #2A798B
tetradic
#8B2A79 #8B6C2A #2A8B3C #2A488B
square
#8B2A79 #8B6C2A #2A8B3C #2A488B
split-complementary
#8B2A79 #488B2A #2A8B6C
monochromatic
#2D0E27 #5C1C50 #8B2A79 #BA38A2 #CF60BB

Accessibility & contrast

On white

7.76
#8B2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8B2A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A79
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A79#FFFFFF#000000##FFFFFF
##8B2A791.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#92304E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2a79;
/* rgb */ color: rgb(139, 42, 121);
/* oklch */ color: oklch(46.1% 0.159 336.2);
Tailwind
colors: {
  custom: {
    50: '#b06ca0',
    500: '#8b2a79',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a79;
$custom-light: #b06ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a79",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 311.134,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.1591,
    "h": 336.2
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#8B2A79
secondary
#5CB56C
accent
#DD664B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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