#8A1D54#8A1D54

#8A1D54 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.151 H 355.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8A1D54
RGBrgb(138, 29, 84)
HSLhsl(330, 65%, 33%)
HSVhsv(330, 79%, 54%)
CMYKcmyk(0%, 79%, 39.1%, 45.9%)
CIE-LABlab(31.63, 49.10, -5.20)
CIE-LCHlch(31.63, 49.38, 353.96°)
OKLaboklab(43.06% 0.1509 -0.0131)
OKLCHoklch(43.06% 0.151 355)
XYZxyz(12.5217, 6.9237, 9.0628)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D54 #1D8A53
analogous
#891D8A #8A1D54 #8A1D1D
triadic
#8A1D54 #548A1D #1D548A
tetradic
#8A1D54 #8A891D #1D8A53 #1D1D8A
square
#8A1D54 #8A891D #1D8A53 #1D1D8A
split-complementary
#8A1D54 #1D8A1D #1D8A89
monochromatic
#250816 #571235 #8A1D54 #BD2873 #D94991

Accessibility & contrast

On white

8.81
#8A1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A1D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D54
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D54#FFFFFF#000000##FFFFFF
##8A1D541.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E55
Deuteranopia (green-blind)
#525252
Tritanopia (blue-blind)
#950F36
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1d54;
/* rgb */ color: rgb(138, 29, 84);
/* oklch */ color: oklch(43.1% 0.151 355.0);
Tailwind
colors: {
  custom: {
    50: '#b16584',
    500: '#8a1d54',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d54;
$custom-light: #b16584;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d54",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 329.725,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43061,
    "c": 0.15146,
    "h": 355
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#8A1D54
secondary
#48BB81
accent
#E89340
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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