#8B1A6F#8B1A6F

#8B1A6F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.170 H 340.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8B1A6F
RGBrgb(139, 26, 111)
HSLhsl(315, 68%, 32%)
HSVhsv(315, 81%, 55%)
CMYKcmyk(0%, 81.3%, 20.1%, 45.5%)
CIE-LABlab(32.65, 53.64, -21.06)
CIE-LCHlch(32.65, 57.63, 338.57°)
OKLaboklab(44.21% 0.1606 -0.0569)
OKLCHoklch(44.21% 0.17 340.5)
XYZxyz(13.8865, 7.3769, 15.7284)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A6F #1A8B36
analogous
#6E1A8B #8B1A6F #8B1A37
triadic
#8B1A6F #6F8B1A #1A6F8B
tetradic
#8B1A6F #8B6E1A #1A8B36 #1A378B
square
#8B1A6F #8B6E1A #1A8B36 #1A378B
split-complementary
#8B1A6F #378B1A #1A8B6E
monochromatic
#24071D #571046 #8B1A6F #BF2498 #DC43B6

Accessibility & contrast

On white

8.48
#8B1A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8B1A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A6F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A6F#FFFFFF#000000##FFFFFF
##8B1A6F1.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#49536C
Tritanopia (blue-blind)
#941E43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1a6f;
/* rgb */ color: rgb(139, 26, 111);
/* oklch */ color: oklch(44.2% 0.170 340.5);
Tailwind
colors: {
  custom: {
    50: '#b16598',
    500: '#8b1a6f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a6f;
$custom-light: #b16598;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a6f",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 314.867,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44207,
    "c": 0.17036,
    "h": 340.5
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#8B1A6F
secondary
#44BD62
accent
#EB683C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8B1A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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