#8B3155#8B3155

#8B3155 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.127 H 358.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8B3155
RGBrgb(139, 49, 85)
HSLhsl(336, 48%, 37%)
HSVhsv(336, 65%, 55%)
CMYKcmyk(0%, 64.7%, 38.8%, 45.5%)
CIE-LABlab(34.69, 41.66, -1.31)
CIE-LCHlch(34.69, 41.68, 358.20°)
OKLaboklab(45.36% 0.1273 -0.0029)
OKLCHoklch(45.36% 0.127 358.7)
XYZxyz(13.3863, 8.3430, 9.4980)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3155 #318B67
analogous
#8B3182 #8B3155 #8B3A31
triadic
#8B3155 #558B31 #31558B
tetradic
#8B3155 #828B31 #318B67 #3A318B
square
#8B3155 #828B31 #318B67 #3A318B
split-complementary
#8B3155 #318B3A #31828B
monochromatic
#31111E #5E2139 #8B3155 #B84171 #CB6B92

Accessibility & contrast

On white

7.87
#8B3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8B3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3155
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3155#FFFFFF#000000##FFFFFF
##8B31551.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414756
Deuteranopia (green-blind)
#595853
Tritanopia (blue-blind)
#96293F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b3155;
/* rgb */ color: rgb(139, 49, 85);
/* oklch */ color: oklch(45.4% 0.127 358.7);
Tailwind
colors: {
  custom: {
    50: '#b16f84',
    500: '#8b3155',
    950: '#000000',
  },
}
SCSS
$custom: #8b3155;
$custom-light: #b16f84;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3155",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 336,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.12734,
    "h": 358.7
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#8B3155
secondary
#65B294
accent
#D7A150
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8B3155

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

Preview Lab → · Contrast checker → · Palette generator →

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