#8A1A54#8A1A54

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

Color values

HEX#8A1A54
RGBrgb(138, 26, 84)
HSLhsl(329, 68%, 32%)
HSVhsv(329, 81%, 54%)
CMYKcmyk(0%, 81.2%, 39.1%, 45.9%)
CIE-LABlab(31.31, 50.02, -5.68)
CIE-LCHlch(31.31, 50.34, 353.52°)
OKLaboklab(42.83% 0.1538 -0.0144)
OKLCHoklch(42.83% 0.154 354.7)
XYZxyz(12.4517, 6.7837, 9.0395)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A54 #1A8A50
analogous
#881A8A #8A1A54 #8A1A1C
triadic
#8A1A54 #548A1A #1A548A
tetradic
#8A1A54 #8A881A #1A8A50 #1A1C8A
square
#8A1A54 #8A881A #1A8A50 #1A1C8A
split-complementary
#8A1A54 #1C8A1A #1A8A88
monochromatic
#230715 #571035 #8A1A54 #BD2473 #DC4392

Accessibility & contrast

On white

8.91
#8A1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A54
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A54#FFFFFF#000000##FFFFFF
##8A1A541.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1a54;
/* rgb */ color: rgb(138, 26, 84);
/* oklch */ color: oklch(42.8% 0.154 354.7);
Tailwind
colors: {
  custom: {
    50: '#b16484',
    500: '#8a1a54',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a54;
$custom-light: #b16484;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a54",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 328.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.15448,
    "h": 354.7
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#8A1A54
secondary
#43BD7E
accent
#EB913D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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