#8A1D5E#8A1D5E

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

Color values

HEX#8A1D5E
RGBrgb(138, 29, 94)
HSLhsl(324, 65%, 33%)
HSVhsv(324, 79%, 54%)
CMYKcmyk(0%, 79%, 31.9%, 45.9%)
CIE-LABlab(32.01, 50.27, -11.13)
CIE-LCHlch(32.01, 51.49, 347.51°)
OKLaboklab(43.47% 0.1537 -0.0292)
OKLCHoklch(43.47% 0.156 349.3)
XYZxyz(12.9417, 7.0917, 11.2748)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D5E #1D8A49
analogous
#7F1D8A #8A1D5E #8A1D28
triadic
#8A1D5E #5E8A1D #1D5E8A
tetradic
#8A1D5E #8A7F1D #1D8A49 #1D288A
square
#8A1D5E #8A7F1D #1D8A49 #1D288A
split-complementary
#8A1D5E #288A1D #1D8A7F
monochromatic
#250819 #57123C #8A1D5E #BD2880 #D9499F

Accessibility & contrast

On white

8.68
#8A1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D5E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D5E#FFFFFF#000000##FFFFFF
##8A1D5E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#94163B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1d5e;
/* rgb */ color: rgb(138, 29, 94);
/* oklch */ color: oklch(43.5% 0.156 349.3);
Tailwind
colors: {
  custom: {
    50: '#b0658b',
    500: '#8a1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d5e;
$custom-light: #b0658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d5e",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 324.22,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43465,
    "c": 0.1564,
    "h": 349.3
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#8A1D5E
secondary
#48BB76
accent
#E88440
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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