#8B2E76#8B2E76

#8B2E76 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.151 H 337.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8B2E76
RGBrgb(139, 46, 118)
HSLhsl(314, 50%, 36%)
HSVhsv(314, 67%, 55%)
CMYKcmyk(0%, 66.9%, 15.1%, 45.5%)
CIE-LABlab(35.50, 47.57, -21.05)
CIE-LCHlch(35.50, 52.02, 336.13°)
OKLaboklab(46.38% 0.1402 -0.057)
OKLCHoklch(46.38% 0.151 337.9)
XYZxyz(14.8947, 8.7523, 18.0409)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E76 #2E8B43
analogous
#722E8B #8B2E76 #8B2E48
triadic
#8B2E76 #768B2E #2E768B
tetradic
#8B2E76 #8B722E #2E8B43 #2E488B
square
#8B2E76 #8B722E #2E8B43 #2E488B
split-complementary
#8B2E76 #488B2E #2E8B72
monochromatic
#2F1028 #5D1F4F #8B2E76 #B93D9D #CD67B6

Accessibility & contrast

On white

7.64
#8B2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E76
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E76#FFFFFF#000000##FFFFFF
##8B2E761.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A78
Deuteranopia (green-blind)
#4E5974
Tritanopia (blue-blind)
#93324D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2e76;
/* rgb */ color: rgb(139, 46, 118);
/* oklch */ color: oklch(46.4% 0.151 337.9);
Tailwind
colors: {
  custom: {
    50: '#b06e9d',
    500: '#8b2e76',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e76;
$custom-light: #b06e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e76",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 313.548,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.15133,
    "h": 337.9
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#8B2E76
secondary
#61B374
accent
#DA6E4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8B2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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