#8A1B53#8A1B53

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

Color values

HEX#8A1B53
RGBrgb(138, 27, 83)
HSLhsl(330, 67%, 32%)
HSVhsv(330, 80%, 54%)
CMYKcmyk(0%, 80.4%, 39.9%, 45.9%)
CIE-LABlab(31.38, 49.61, -4.92)
CIE-LCHlch(31.38, 49.86, 354.33°)
OKLaboklab(42.86% 0.1526 -0.0123)
OKLCHoklch(42.86% 0.153 355.4)
XYZxyz(12.4354, 6.8133, 8.8422)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B53 #1B8A52
analogous
#8A1B8A #8A1B53 #8A1B1B
triadic
#8A1B53 #538A1B #1B538A
tetradic
#8A1B53 #8A8A1B #1B8A52 #1B1B8A
square
#8A1B53 #8A8A1B #1B8A52 #1B1B8A
split-complementary
#8A1B53 #1B8A1B #1B8A8A
monochromatic
#240715 #571134 #8A1B53 #BD2572 #DB4590

Accessibility & contrast

On white

8.89
#8A1B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B53
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B53#FFFFFF#000000##FFFFFF
##8A1B531.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D54
Deuteranopia (green-blind)
#515151
Tritanopia (blue-blind)
#960A35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1b53;
/* rgb */ color: rgb(138, 27, 83);
/* oklch */ color: oklch(42.9% 0.153 355.4);
Tailwind
colors: {
  custom: {
    50: '#b16483',
    500: '#8a1b53',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b53;
$custom-light: #b16483;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b53",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 329.73,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.15306,
    "h": 355.4
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#8A1B53
secondary
#45BC80
accent
#EA933E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1B53

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

Preview Lab → · Contrast checker → · Palette generator →

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