#8A1E55#8A1E55

#8A1E55 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.151 H 354.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8A1E55
RGBrgb(138, 30, 85)
HSLhsl(329, 64%, 33%)
HSVhsv(329, 78%, 54%)
CMYKcmyk(0%, 78.3%, 38.4%, 45.9%)
CIE-LABlab(31.78, 48.89, -5.63)
CIE-LCHlch(31.78, 49.21, 353.43°)
OKLaboklab(43.18% 0.1502 -0.0142)
OKLCHoklch(43.18% 0.151 354.6)
XYZxyz(12.5860, 6.9893, 9.2788)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E55 #1E8A53
analogous
#891E8A #8A1E55 #8A1E1F
triadic
#8A1E55 #558A1E #1E558A
tetradic
#8A1E55 #8A891E #1E8A53 #1E1F8A
square
#8A1E55 #8A891E #1E8A53 #1E1F8A
split-complementary
#8A1E55 #1F8A1E #1E8A89
monochromatic
#250817 #581336 #8A1E55 #BC2974 #D84B93

Accessibility & contrast

On white

8.76
#8A1E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E55
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E55#FFFFFF#000000##FFFFFF
##8A1E551.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E56
Deuteranopia (green-blind)
#525253
Tritanopia (blue-blind)
#951137
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1e55;
/* rgb */ color: rgb(138, 30, 85);
/* oklch */ color: oklch(43.2% 0.151 354.6);
Tailwind
colors: {
  custom: {
    50: '#b16584',
    500: '#8a1e55',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e55;
$custom-light: #b16584;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e55",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 329.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.15084,
    "h": 354.6
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#8A1E55
secondary
#4ABA81
accent
#E79241
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1E55

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

Preview Lab → · Contrast checker → · Palette generator →

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