#8A1E54#8A1E54

#8A1E54 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.150 H 355.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8A1E54
RGBrgb(138, 30, 84)
HSLhsl(330, 64%, 33%)
HSVhsv(330, 78%, 54%)
CMYKcmyk(0%, 78.3%, 39.1%, 45.9%)
CIE-LABlab(31.75, 48.78, -5.03)
CIE-LCHlch(31.75, 49.04, 354.11°)
OKLaboklab(43.14% 0.1499 -0.0126)
OKLCHoklch(43.14% 0.15 355.2)
XYZxyz(12.5466, 6.9735, 9.0711)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E54 #1E8A54
analogous
#8A1E8A #8A1E54 #8A1E1E
triadic
#8A1E54 #548A1E #1E548A
tetradic
#8A1E54 #8A8A1E #1E8A54 #1E1E8A
square
#8A1E54 #8A8A1E #1E8A54 #1E1E8A
split-complementary
#8A1E54 #1E8A1E #1E8A8A
monochromatic
#250817 #581335 #8A1E54 #BC2973 #D84B91

Accessibility & contrast

On white

8.77
#8A1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E54
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E54#FFFFFF#000000##FFFFFF
##8A1E541.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E55
Deuteranopia (green-blind)
#525252
Tritanopia (blue-blind)
#951036
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1e54;
/* rgb */ color: rgb(138, 30, 84);
/* oklch */ color: oklch(43.1% 0.150 355.2);
Tailwind
colors: {
  custom: {
    50: '#b16584',
    500: '#8a1e54',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e54;
$custom-light: #b16584;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e54",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 330,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.15039,
    "h": 355.2
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#8A1E54
secondary
#4ABA82
accent
#E79441
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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