#8A1E5D#8A1E5D

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

Color values

HEX#8A1E5D
RGBrgb(138, 30, 93)
HSLhsl(325, 64%, 33%)
HSVhsv(325, 78%, 54%)
CMYKcmyk(0%, 78.3%, 32.6%, 45.9%)
CIE-LABlab(32.09, 49.83, -10.38)
CIE-LCHlch(32.09, 50.90, 348.24°)
OKLaboklab(43.5% 0.1524 -0.0271)
OKLCHoklch(43.5% 0.155 349.9)
XYZxyz(12.9220, 7.1237, 11.0483)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E5D #1E8A4B
analogous
#811E8A #8A1E5D #8A1E27
triadic
#8A1E5D #5D8A1E #1E5D8A
tetradic
#8A1E5D #8A811E #1E8A4B #1E278A
square
#8A1E5D #8A811E #1E8A4B #1E278A
split-complementary
#8A1E5D #278A1E #1E8A81
monochromatic
#250819 #58133B #8A1E5D #BC297F #D84B9D

Accessibility & contrast

On white

8.66
#8A1E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E5D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E5D#FFFFFF#000000##FFFFFF
##8A1E5D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5F
Deuteranopia (green-blind)
#50525B
Tritanopia (blue-blind)
#95173B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1e5d;
/* rgb */ color: rgb(138, 30, 93);
/* oklch */ color: oklch(43.5% 0.155 349.9);
Tailwind
colors: {
  custom: {
    50: '#b0668b',
    500: '#8a1e5d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e5d;
$custom-light: #b0668b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e5d",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 325,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43504,
    "c": 0.1548,
    "h": 349.9
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#8A1E5D
secondary
#4ABA79
accent
#E78641
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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