#8B1758#8B1758

#8B1758 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.160 H 352.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8B1758
RGBrgb(139, 23, 88)
HSLhsl(326, 72%, 32%)
HSVhsv(326, 83%, 55%)
CMYKcmyk(0%, 83.5%, 36.7%, 45.5%)
CIE-LABlab(31.37, 51.56, -8.19)
CIE-LCHlch(31.37, 52.21, 350.97°)
OKLaboklab(42.95% 0.1585 -0.0211)
OKLCHoklch(42.95% 0.16 352.4)
XYZxyz(12.7161, 6.8079, 9.8751)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1758 #178B4A
analogous
#84178B #8B1758 #8B171E
triadic
#8B1758 #588B17 #17588B
tetradic
#8B1758 #8B8417 #178B4A #171E8B
square
#8B1758 #8B8417 #178B4A #171E8B
split-complementary
#8B1758 #1E8B17 #178B84
monochromatic
#220616 #560E37 #8B1758 #C02079 #DF3D98

Accessibility & contrast

On white

8.89
#8B1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8B1758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1758
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1758#FFFFFF#000000##FFFFFF
##8B17581.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5A
Deuteranopia (green-blind)
#505155
Tritanopia (blue-blind)
#960736
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1758;
/* rgb */ color: rgb(139, 23, 88);
/* oklch */ color: oklch(43.0% 0.160 352.4);
Tailwind
colors: {
  custom: {
    50: '#b26387',
    500: '#8b1758',
    950: '#000000',
  },
}
SCSS
$custom: #8b1758;
$custom-light: #b26387;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1758",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 326.379,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.15987,
    "h": 352.4
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#8B1758
secondary
#3FBF77
accent
#EE8939
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B1758

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

Preview Lab → · Contrast checker → · Palette generator →

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