#8A1E5E#8A1E5E

#8A1E5E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.155 H 349.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8A1E5E
RGBrgb(138, 30, 94)
HSLhsl(324, 64%, 33%)
HSVhsv(324, 78%, 54%)
CMYKcmyk(0%, 78.3%, 31.9%, 45.9%)
CIE-LABlab(32.13, 49.95, -10.96)
CIE-LCHlch(32.13, 51.14, 347.62°)
OKLaboklab(43.55% 0.1527 -0.0287)
OKLCHoklch(43.55% 0.155 349.4)
XYZxyz(12.9666, 7.1415, 11.2831)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E5E #1E8A4A
analogous
#801E8A #8A1E5E #8A1E28
triadic
#8A1E5E #5E8A1E #1E5E8A
tetradic
#8A1E5E #8A801E #1E8A4A #1E288A
square
#8A1E5E #8A801E #1E8A4A #1E288A
split-complementary
#8A1E5E #288A1E #1E8A80
monochromatic
#25081A #58133C #8A1E5E #BC2980 #D84B9E

Accessibility & contrast

On white

8.65
#8A1E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A1E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E5E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E5E#FFFFFF#000000##FFFFFF
##8A1E5E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F60
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#94173B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1e5e;
/* rgb */ color: rgb(138, 30, 94);
/* oklch */ color: oklch(43.5% 0.155 349.4);
Tailwind
colors: {
  custom: {
    50: '#b0668b',
    500: '#8a1e5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e5e;
$custom-light: #b0668b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e5e",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 324.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.15533,
    "h": 349.4
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#8A1E5E
secondary
#4ABA77
accent
#E78441
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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