#8A1B56#8A1B56

#8A1B56 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 353.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8A1B56
RGBrgb(138, 27, 86)
HSLhsl(328, 67%, 32%)
HSVhsv(328, 80%, 54%)
CMYKcmyk(0%, 80.4%, 37.7%, 45.9%)
CIE-LABlab(31.49, 49.95, -6.72)
CIE-LCHlch(31.49, 50.40, 352.33°)
OKLaboklab(42.98% 0.1535 -0.0172)
OKLCHoklch(42.98% 0.154 353.6)
XYZxyz(12.5537, 6.8606, 9.4654)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B56 #1B8A4F
analogous
#871B8A #8A1B56 #8A1B1F
triadic
#8A1B56 #568A1B #1B568A
tetradic
#8A1B56 #8A871B #1B8A4F #1B1F8A
square
#8A1B56 #8A871B #1B8A4F #1B1F8A
split-complementary
#8A1B56 #1F8A1B #1B8A87
monochromatic
#240716 #571136 #8A1B56 #BD2576 #DB4594

Accessibility & contrast

On white

8.85
#8A1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B56
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B56#FFFFFF#000000##FFFFFF
##8A1B561.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#515154
Tritanopia (blue-blind)
#950D36
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1b56;
/* rgb */ color: rgb(138, 27, 86);
/* oklch */ color: oklch(43.0% 0.154 353.6);
Tailwind
colors: {
  custom: {
    50: '#b16485',
    500: '#8a1b56',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b56;
$custom-light: #b16485;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b56",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 328.108,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.15441,
    "h": 353.6
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#8A1B56
secondary
#45BC7D
accent
#EA8E3E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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