#8B3159#8B3159

#8B3159 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.5% C 0.129 H 355.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8B3159
RGBrgb(139, 49, 89)
HSLhsl(333, 48%, 37%)
HSVhsv(333, 65%, 55%)
CMYKcmyk(0%, 64.7%, 36%, 45.5%)
CIE-LABlab(34.82, 42.15, -3.68)
CIE-LCHlch(34.82, 42.31, 355.01°)
OKLaboklab(45.5% 0.1287 -0.0092)
OKLCHoklch(45.5% 0.129 355.9)
XYZxyz(13.5497, 8.4083, 10.3587)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3159 #318B63
analogous
#8B3186 #8B3159 #8B3631
triadic
#8B3159 #598B31 #31598B
tetradic
#8B3159 #868B31 #318B63 #36318B
square
#8B3159 #868B31 #318B63 #36318B
split-complementary
#8B3159 #318B36 #31868B
monochromatic
#31111F #5E213C #8B3159 #B84176 #CB6B96

Accessibility & contrast

On white

7.83
#8B3159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B3159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3159
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3159#FFFFFF#000000##FFFFFF
##8B31591.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40475A
Deuteranopia (green-blind)
#585857
Tritanopia (blue-blind)
#962A41
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b3159;
/* rgb */ color: rgb(139, 49, 89);
/* oklch */ color: oklch(45.5% 0.129 355.9);
Tailwind
colors: {
  custom: {
    50: '#b06f87',
    500: '#8b3159',
    950: '#000000',
  },
}
SCSS
$custom: #8b3159;
$custom-light: #b06f87;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3159",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 333.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.12903,
    "h": 355.9
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#8B3159
secondary
#65B290
accent
#D79B50
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8B3159

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

Preview Lab → · Contrast checker → · Palette generator →

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