#8A1E5B#8A1E5B

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

Color values

HEX#8A1E5B
RGBrgb(138, 30, 91)
HSLhsl(326, 64%, 33%)
HSVhsv(326, 78%, 54%)
CMYKcmyk(0%, 78.3%, 34.1%, 45.9%)
CIE-LABlab(32.01, 49.59, -9.20)
CIE-LCHlch(32.01, 50.43, 349.49°)
OKLaboklab(43.42% 0.1519 -0.0239)
OKLCHoklch(43.42% 0.154 351.1)
XYZxyz(12.8346, 7.0887, 10.5879)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E5B #1E8A4D
analogous
#831E8A #8A1E5B #8A1E25
triadic
#8A1E5B #5B8A1E #1E5B8A
tetradic
#8A1E5B #8A831E #1E8A4D #1E258A
square
#8A1E5B #8A831E #1E8A4D #1E258A
split-complementary
#8A1E5B #258A1E #1E8A83
monochromatic
#250819 #58133A #8A1E5B #BC297C #D84B9A

Accessibility & contrast

On white

8.69
#8A1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A1E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E5B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E5B#FFFFFF#000000##FFFFFF
##8A1E5B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#505259
Tritanopia (blue-blind)
#95153A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1e5b;
/* rgb */ color: rgb(138, 30, 91);
/* oklch */ color: oklch(43.4% 0.154 351.1);
Tailwind
colors: {
  custom: {
    50: '#b06689',
    500: '#8a1e5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e5b;
$custom-light: #b06689;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e5b",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 326.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.15374,
    "h": 351.1
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#8A1E5B
secondary
#4ABA7B
accent
#E78941
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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