#8A1B55#8A1B55

#8A1B55 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.154 H 354.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8A1B55
RGBrgb(138, 27, 85)
HSLhsl(329, 67%, 32%)
HSVhsv(329, 80%, 54%)
CMYKcmyk(0%, 80.4%, 38.4%, 45.9%)
CIE-LABlab(31.45, 49.83, -6.12)
CIE-LCHlch(31.45, 50.21, 352.99°)
OKLaboklab(42.94% 0.1532 -0.0156)
OKLCHoklch(42.94% 0.154 354.2)
XYZxyz(12.5137, 6.8446, 9.2547)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B55 #1B8A50
analogous
#881B8A #8A1B55 #8A1B1D
triadic
#8A1B55 #558A1B #1B558A
tetradic
#8A1B55 #8A881B #1B8A50 #1B1D8A
square
#8A1B55 #8A881B #1B8A50 #1B1D8A
split-complementary
#8A1B55 #1D8A1B #1B8A88
monochromatic
#240716 #571135 #8A1B55 #BD2575 #DB4593

Accessibility & contrast

On white

8.87
#8A1B55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B55
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B55#FFFFFF#000000##FFFFFF
##8A1B551.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D56
Deuteranopia (green-blind)
#515153
Tritanopia (blue-blind)
#950C36
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1b55;
/* rgb */ color: rgb(138, 27, 85);
/* oklch */ color: oklch(42.9% 0.154 354.2);
Tailwind
colors: {
  custom: {
    50: '#b16484',
    500: '#8a1b55',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b55;
$custom-light: #b16484;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b55",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 85
  },
  "hsl": {
    "h": 328.649,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.15395,
    "h": 354.2
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#8A1B55
secondary
#45BC7E
accent
#EA903E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1B55

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

Preview Lab → · Contrast checker → · Palette generator →

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