#8B2779#8B2779

#8B2779 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.163 H 336.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8B2779
RGBrgb(139, 39, 121)
HSLhsl(311, 56%, 35%)
HSVhsv(311, 72%, 55%)
CMYKcmyk(0%, 71.9%, 12.9%, 45.5%)
CIE-LABlab(34.64, 50.85, -24.27)
CIE-LCHlch(34.64, 56.34, 334.49°)
OKLaboklab(45.81% 0.149 -0.0661)
OKLCHoklch(45.81% 0.163 336.1)
XYZxyz(14.8244, 8.3218, 18.9110)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2779 #278B39
analogous
#6B278B #8B2779 #8B2747
triadic
#8B2779 #798B27 #27798B
tetradic
#8B2779 #8B6B27 #278B39 #27478B
square
#8B2779 #8B6B27 #278B39 #27478B
split-complementary
#8B2779 #478B27 #278B6B
monochromatic
#2B0C26 #5B1A4F #8B2779 #BB34A3 #D15BBC

Accessibility & contrast

On white

7.88
#8B2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2779
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2779#FFFFFF#000000##FFFFFF
##8B27791.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#922E4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2779;
/* rgb */ color: rgb(139, 39, 121);
/* oklch */ color: oklch(45.8% 0.163 336.1);
Tailwind
colors: {
  custom: {
    50: '#b06ba0',
    500: '#8b2779',
    950: '#000000',
  },
}
SCSS
$custom: #8b2779;
$custom-light: #b06ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2779",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 310.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45807,
    "c": 0.16297,
    "h": 336.1
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#8B2779
secondary
#58B669
accent
#DF6448
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2779

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

Preview Lab → · Contrast checker → · Palette generator →

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