#8B1A6B#8B1A6B

#8B1A6B is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.168 H 342.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8B1A6B
RGBrgb(139, 26, 107)
HSLhsl(317, 68%, 32%)
HSVhsv(317, 81%, 55%)
CMYKcmyk(0%, 81.3%, 23%, 45.5%)
CIE-LABlab(32.46, 53.10, -18.80)
CIE-LCHlch(32.46, 56.33, 340.50°)
OKLaboklab(44.01% 0.16 -0.0505)
OKLCHoklch(44.01% 0.168 342.5)
XYZxyz(13.6712, 7.2908, 14.5944)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A6B #1A8B3A
analogous
#721A8B #8B1A6B #8B1A33
triadic
#8B1A6B #6B8B1A #1A6B8B
tetradic
#8B1A6B #8B721A #1A8B3A #1A338B
square
#8B1A6B #8B721A #1A8B3A #1A338B
split-complementary
#8B1A6B #338B1A #1A8B72
monochromatic
#24071C #571043 #8B1A6B #BF2493 #DC43B1

Accessibility & contrast

On white

8.54
#8B1A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8B1A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A6B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A6B#FFFFFF#000000##FFFFFF
##8B1A6B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#941B41
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1a6b;
/* rgb */ color: rgb(139, 26, 107);
/* oklch */ color: oklch(44.0% 0.168 342.5);
Tailwind
colors: {
  custom: {
    50: '#b16595',
    500: '#8b1a6b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a6b;
$custom-light: #b16595;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a6b",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 316.991,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.16778,
    "h": 342.5
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#8B1A6B
secondary
#44BD66
accent
#EB6E3C
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8B1A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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