#8A1E51#8A1E51

#8A1E51 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.149 H 357.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8A1E51
RGBrgb(138, 30, 81)
HSLhsl(332, 64%, 33%)
HSVhsv(332, 78%, 54%)
CMYKcmyk(0%, 78.3%, 41.3%, 45.9%)
CIE-LABlab(31.64, 48.45, -3.22)
CIE-LCHlch(31.64, 48.56, 356.20°)
OKLaboklab(43.03% 0.1489 -0.0079)
OKLCHoklch(43.03% 0.149 357)
XYZxyz(12.4316, 6.9275, 8.4655)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E51 #1E8A57
analogous
#8A1E87 #8A1E51 #8A211E
triadic
#8A1E51 #518A1E #1E518A
tetradic
#8A1E51 #878A1E #1E8A57 #211E8A
square
#8A1E51 #878A1E #1E8A57 #211E8A
split-complementary
#8A1E51 #1E8A21 #1E878A
monochromatic
#250816 #581333 #8A1E51 #BC296F #D84B8D

Accessibility & contrast

On white

8.80
#8A1E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E51
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E51#FFFFFF#000000##FFFFFF
##8A1E511.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E52
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#960E35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e51;
/* rgb */ color: rgb(138, 30, 81);
/* oklch */ color: oklch(43.0% 0.149 357.0);
Tailwind
colors: {
  custom: {
    50: '#b16581',
    500: '#8a1e51',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e51;
$custom-light: #b16581;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e51",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 331.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.14912,
    "h": 357
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#8A1E51
secondary
#4ABA85
accent
#E79941
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1E51

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

Preview Lab → · Contrast checker → · Palette generator →

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