#8B1F5D#8B1F5D

#8B1F5D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.154 H 350.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8B1F5D
RGBrgb(139, 31, 93)
HSLhsl(326, 64%, 33%)
HSVhsv(326, 78%, 55%)
CMYKcmyk(0%, 77.7%, 33.1%, 45.5%)
CIE-LABlab(32.39, 49.77, -9.89)
CIE-LCHlch(32.39, 50.75, 348.76°)
OKLaboklab(43.76% 0.1523 -0.0258)
OKLCHoklch(43.76% 0.154 350.4)
XYZxyz(13.1140, 7.2608, 11.0647)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F5D #1F8B4D
analogous
#831F8B #8B1F5D #8B1F27
triadic
#8B1F5D #5D8B1F #1F5D8B
tetradic
#8B1F5D #8B831F #1F8B4D #1F278B
square
#8B1F5D #8B831F #1F8B4D #1F278B
split-complementary
#8B1F5D #278B1F #1F8B83
monochromatic
#27091A #59143C #8B1F5D #BD2A7E #D74D9C

Accessibility & contrast

On white

8.57
#8B1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8B1F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F5D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F5D#FFFFFF#000000##FFFFFF
##8B1F5D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405F
Deuteranopia (green-blind)
#51535B
Tritanopia (blue-blind)
#96173B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1f5d;
/* rgb */ color: rgb(139, 31, 93);
/* oklch */ color: oklch(43.8% 0.154 350.4);
Tailwind
colors: {
  custom: {
    50: '#b1668b',
    500: '#8b1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f5d;
$custom-light: #b1668b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f5d",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 325.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.15446,
    "h": 350.4
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#8B1F5D
secondary
#4CBA7B
accent
#E78841
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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