#8B3151#8B3151

#8B3151 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.2% C 0.126 H 1.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B3151
RGBrgb(139, 49, 81)
HSLhsl(339, 48%, 37%)
HSVhsv(339, 65%, 55%)
CMYKcmyk(0%, 64.7%, 41.7%, 45.5%)
CIE-LABlab(34.56, 41.20, 1.08)
CIE-LCHlch(34.56, 41.21, 1.51°)
OKLaboklab(45.22% 0.1259 0.0033)
OKLCHoklch(45.22% 0.126 1.5)
XYZxyz(13.2318, 8.2812, 8.6846)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3151 #318B6B
analogous
#8B317E #8B3151 #8B3E31
triadic
#8B3151 #518B31 #31518B
tetradic
#8B3151 #7E8B31 #318B6B #3E318B
square
#8B3151 #7E8B31 #318B6B #3E318B
split-complementary
#8B3151 #318B3E #317E8B
monochromatic
#31111C #5E2137 #8B3151 #B8416B #CB6B8D

Accessibility & contrast

On white

7.91
#8B3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3151
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3151#FFFFFF#000000##FFFFFF
##8B31511.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#96273E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b3151;
/* rgb */ color: rgb(139, 49, 81);
/* oklch */ color: oklch(45.2% 0.126 1.5);
Tailwind
colors: {
  custom: {
    50: '#b16e81',
    500: '#8b3151',
    950: '#000000',
  },
}
SCSS
$custom: #8b3151;
$custom-light: #b16e81;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3151",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 338.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.1259,
    "h": 1.5
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#8B3151
secondary
#65B297
accent
#D7A750
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8B3151

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

Preview Lab → · Contrast checker → · Palette generator →

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