#8B1F5C#8B1F5C

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

Color values

HEX#8B1F5C
RGBrgb(139, 31, 92)
HSLhsl(326, 64%, 33%)
HSVhsv(326, 78%, 55%)
CMYKcmyk(0%, 77.7%, 33.8%, 45.5%)
CIE-LABlab(32.35, 49.65, -9.30)
CIE-LCHlch(32.35, 50.52, 349.39°)
OKLaboklab(43.72% 0.152 -0.0242)
OKLCHoklch(43.72% 0.154 351)
XYZxyz(13.0700, 7.2432, 10.8329)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F5C #1F8B4E
analogous
#841F8B #8B1F5C #8B1F26
triadic
#8B1F5C #5C8B1F #1F5C8B
tetradic
#8B1F5C #8B841F #1F8B4E #1F268B
square
#8B1F5C #8B841F #1F8B4E #1F268B
split-complementary
#8B1F5C #268B1F #1F8B84
monochromatic
#27091A #59143B #8B1F5C #BD2A7D #D74D9B

Accessibility & contrast

On white

8.58
#8B1F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1F5C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F5C#FFFFFF#000000##FFFFFF
##8B1F5C1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1f5c;
/* rgb */ color: rgb(139, 31, 92);
/* oklch */ color: oklch(43.7% 0.154 351.0);
Tailwind
colors: {
  custom: {
    50: '#b1668a',
    500: '#8b1f5c',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f5c;
$custom-light: #b1668a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f5c",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 326.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.15395,
    "h": 351
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#8B1F5C
secondary
#4CBA7C
accent
#E78941
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B1F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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