#8B1F5B#8B1F5B

#8B1F5B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.153 H 351.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8B1F5B
RGBrgb(139, 31, 91)
HSLhsl(327, 64%, 33%)
HSVhsv(327, 78%, 55%)
CMYKcmyk(0%, 77.7%, 34.5%, 45.5%)
CIE-LABlab(32.32, 49.53, -8.71)
CIE-LCHlch(32.32, 50.29, 350.02°)
OKLaboklab(43.68% 0.1518 -0.0226)
OKLCHoklch(43.68% 0.153 351.5)
XYZxyz(13.0265, 7.2258, 10.6042)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F5B #1F8B4F
analogous
#851F8B #8B1F5B #8B1F25
triadic
#8B1F5B #5B8B1F #1F5B8B
tetradic
#8B1F5B #8B851F #1F8B4F #1F258B
square
#8B1F5B #8B851F #1F8B4F #1F258B
split-complementary
#8B1F5B #258B1F #1F8B85
monochromatic
#270919 #59143A #8B1F5B #BD2A7C #D74D9A

Accessibility & contrast

On white

8.59
#8B1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8B1F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F5B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F5B#FFFFFF#000000##FFFFFF
##8B1F5B1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405D
Deuteranopia (green-blind)
#515359
Tritanopia (blue-blind)
#96163A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1f5b;
/* rgb */ color: rgb(139, 31, 91);
/* oklch */ color: oklch(43.7% 0.153 351.5);
Tailwind
colors: {
  custom: {
    50: '#b16689',
    500: '#8b1f5b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f5b;
$custom-light: #b16689;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f5b",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 326.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43681,
    "c": 0.15343,
    "h": 351.5
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#8B1F5B
secondary
#4CBA7D
accent
#E78B41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B1F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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