#8A1B54#8A1B54

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

Color values

HEX#8A1B54
RGBrgb(138, 27, 84)
HSLhsl(329, 67%, 32%)
HSVhsv(329, 80%, 54%)
CMYKcmyk(0%, 80.4%, 39.1%, 45.9%)
CIE-LABlab(31.41, 49.72, -5.52)
CIE-LCHlch(31.41, 50.03, 353.66°)
OKLaboklab(42.9% 0.1529 -0.0139)
OKLCHoklch(42.9% 0.154 354.8)
XYZxyz(12.4743, 6.8288, 9.0470)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B54 #1B8A51
analogous
#891B8A #8A1B54 #8A1B1D
triadic
#8A1B54 #548A1B #1B548A
tetradic
#8A1B54 #8A891B #1B8A51 #1B1D8A
square
#8A1B54 #8A891B #1B8A51 #1B1D8A
split-complementary
#8A1B54 #1D8A1B #1B8A89
monochromatic
#240716 #571135 #8A1B54 #BD2573 #DB4592

Accessibility & contrast

On white

8.88
#8A1B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B54
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B54#FFFFFF#000000##FFFFFF
##8A1B541.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D55
Deuteranopia (green-blind)
#515152
Tritanopia (blue-blind)
#950B35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1b54;
/* rgb */ color: rgb(138, 27, 84);
/* oklch */ color: oklch(42.9% 0.153 354.8);
Tailwind
colors: {
  custom: {
    50: '#b16484',
    500: '#8a1b54',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b54;
$custom-light: #b16484;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b54",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 329.189,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.1535,
    "h": 354.8
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#8A1B54
secondary
#45BC7F
accent
#EA923E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1B54

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

Preview Lab → · Contrast checker → · Palette generator →

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