#8A1E5A#8A1E5A

#8A1E5A is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.153 H 351.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8A1E5A
RGBrgb(138, 30, 90)
HSLhsl(327, 64%, 33%)
HSVhsv(327, 78%, 54%)
CMYKcmyk(0%, 78.3%, 34.8%, 45.9%)
CIE-LABlab(31.97, 49.47, -8.61)
CIE-LCHlch(31.97, 50.21, 350.13°)
OKLaboklab(43.38% 0.1516 -0.0223)
OKLCHoklch(43.38% 0.153 351.6)
XYZxyz(12.7917, 7.0715, 10.3622)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E5A #1E8A4E
analogous
#841E8A #8A1E5A #8A1E24
triadic
#8A1E5A #5A8A1E #1E5A8A
tetradic
#8A1E5A #8A841E #1E8A4E #1E248A
square
#8A1E5A #8A841E #1E8A4E #1E248A
split-complementary
#8A1E5A #248A1E #1E8A84
monochromatic
#250818 #581339 #8A1E5A #BC297B #D84B99

Accessibility & contrast

On white

8.70
#8A1E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A1E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E5A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E5A#FFFFFF#000000##FFFFFF
##8A1E5A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5C
Deuteranopia (green-blind)
#505258
Tritanopia (blue-blind)
#951539
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1e5a;
/* rgb */ color: rgb(138, 30, 90);
/* oklch */ color: oklch(43.4% 0.153 351.6);
Tailwind
colors: {
  custom: {
    50: '#b06688',
    500: '#8a1e5a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e5a;
$custom-light: #b06688;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e5a",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 326.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.15324,
    "h": 351.6
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#8A1E5A
secondary
#4ABA7C
accent
#E78B41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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