#8B1F58#8B1F58

#8B1F58 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.152 H 353.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8B1F58
RGBrgb(139, 31, 88)
HSLhsl(328, 64%, 33%)
HSVhsv(328, 78%, 55%)
CMYKcmyk(0%, 77.7%, 36.7%, 45.5%)
CIE-LABlab(32.20, 49.18, -6.94)
CIE-LCHlch(32.20, 49.67, 351.97°)
OKLaboklab(43.56% 0.1509 -0.0177)
OKLCHoklch(43.56% 0.152 353.3)
XYZxyz(12.8997, 7.1751, 9.9363)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F58 #1F8B52
analogous
#881F8B #8B1F58 #8B1F22
triadic
#8B1F58 #588B1F #1F588B
tetradic
#8B1F58 #8B881F #1F8B52 #1F228B
square
#8B1F58 #8B881F #1F8B52 #1F228B
split-complementary
#8B1F58 #228B1F #1F8B88
monochromatic
#270919 #591438 #8B1F58 #BD2A78 #D74D96

Accessibility & contrast

On white

8.62
#8B1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8B1F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F58
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F58#FFFFFF#000000##FFFFFF
##8B1F581.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343F59
Deuteranopia (green-blind)
#525356
Tritanopia (blue-blind)
#961439
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1f58;
/* rgb */ color: rgb(139, 31, 88);
/* oklch */ color: oklch(43.6% 0.152 353.3);
Tailwind
colors: {
  custom: {
    50: '#b16687',
    500: '#8b1f58',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f58;
$custom-light: #b16687;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f58",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 328.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43561,
    "c": 0.15195,
    "h": 353.3
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#8B1F58
secondary
#4CBA80
accent
#E78F41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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