#8B1B58#8B1B58

#8B1B58 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.156 H 352.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8B1B58
RGBrgb(139, 27, 88)
HSLhsl(327, 67%, 33%)
HSVhsv(327, 81%, 55%)
CMYKcmyk(0%, 80.6%, 36.7%, 45.5%)
CIE-LABlab(31.76, 50.44, -7.60)
CIE-LCHlch(31.76, 51.01, 351.43°)
OKLaboklab(43.24% 0.1549 -0.0195)
OKLCHoklch(43.24% 0.156 352.8)
XYZxyz(12.8017, 6.9790, 9.9036)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B58 #1B8B4E
analogous
#861B8B #8B1B58 #8B1B20
triadic
#8B1B58 #588B1B #1B588B
tetradic
#8B1B58 #8B861B #1B8B4E #1B208B
square
#8B1B58 #8B861B #1B8B4E #1B208B
split-complementary
#8B1B58 #208B1B #1B8B86
monochromatic
#250717 #581138 #8B1B58 #BE2578 #DB4597

Accessibility & contrast

On white

8.77
#8B1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8B1B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B58
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B58#FFFFFF#000000##FFFFFF
##8B1B581.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5A
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#960E37
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b1b58;
/* rgb */ color: rgb(139, 27, 88);
/* oklch */ color: oklch(43.2% 0.156 352.8);
Tailwind
colors: {
  custom: {
    50: '#b16587',
    500: '#8b1b58',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b58;
$custom-light: #b16587;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b58",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 327.321,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43237,
    "c": 0.15613,
    "h": 352.8
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#8B1B58
secondary
#45BC7C
accent
#EA8C3D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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