#8B276A#8B276A

#8B276A is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.152 H 343.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8B276A
RGBrgb(139, 39, 106)
HSLhsl(320, 56%, 35%)
HSVhsv(320, 72%, 55%)
CMYKcmyk(0%, 71.9%, 23.7%, 45.5%)
CIE-LABlab(33.95, 48.62, -15.87)
CIE-LCHlch(33.95, 51.14, 341.92°)
OKLaboklab(45.07% 0.1465 -0.0423)
OKLCHoklch(45.07% 0.153 343.9)
XYZxyz(13.9750, 7.9820, 14.4376)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B276A #278B48
analogous
#7A278B #8B276A #8B2738
triadic
#8B276A #6A8B27 #276A8B
tetradic
#8B276A #8B7A27 #278B48 #27388B
square
#8B276A #8B7A27 #278B48 #27388B
split-complementary
#8B276A #388B27 #278B7A
monochromatic
#2B0C21 #5B1A46 #8B276A #BB348E #D15BAA

Accessibility & contrast

On white

8.09
#8B276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B276A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B276A#FFFFFF#000000##FFFFFF
##8B276A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#942745
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b276a;
/* rgb */ color: rgb(139, 39, 106);
/* oklch */ color: oklch(45.1% 0.152 343.9);
Tailwind
colors: {
  custom: {
    50: '#b06a94',
    500: '#8b276a',
    950: '#000000',
  },
}
SCSS
$custom: #8b276a;
$custom-light: #b06a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8b276a",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 319.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.1525,
    "h": 343.9
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#8B276A
secondary
#58B677
accent
#DF7A48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B276A

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

Preview Lab → · Contrast checker → · Palette generator →

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