#8B276B#8B276B

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

Color values

HEX#8B276B
RGBrgb(139, 39, 107)
HSLhsl(319, 56%, 35%)
HSVhsv(319, 72%, 55%)
CMYKcmyk(0%, 71.9%, 23%, 45.5%)
CIE-LABlab(33.99, 48.76, -16.44)
CIE-LCHlch(33.99, 51.46, 341.36°)
OKLaboklab(45.12% 0.1467 -0.0439)
OKLCHoklch(45.12% 0.153 343.3)
XYZxyz(14.0273, 8.0030, 14.7131)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B276B #278B47
analogous
#79278B #8B276B #8B2739
triadic
#8B276B #6B8B27 #276B8B
tetradic
#8B276B #8B7927 #278B47 #27398B
square
#8B276B #8B7927 #278B47 #27398B
split-complementary
#8B276B #398B27 #278B79
monochromatic
#2B0C21 #5B1A46 #8B276B #BB3490 #D15BAB

Accessibility & contrast

On white

8.08
#8B276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B276B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B276B#FFFFFF#000000##FFFFFF
##8B276B1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456D
Deuteranopia (green-blind)
#4F5669
Tritanopia (blue-blind)
#942745
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b276b;
/* rgb */ color: rgb(139, 39, 107);
/* oklch */ color: oklch(45.1% 0.153 343.3);
Tailwind
colors: {
  custom: {
    50: '#b06a95',
    500: '#8b276b',
    950: '#000000',
  },
}
SCSS
$custom: #8b276b;
$custom-light: #b06a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8b276b",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 319.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.15314,
    "h": 343.3
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#8B276B
secondary
#58B676
accent
#DF7948
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B276B

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

Preview Lab → · Contrast checker → · Palette generator →

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