#8A1D5B#8A1D5B

#8A1D5B is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.155 H 351.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8A1D5B
RGBrgb(138, 29, 91)
HSLhsl(326, 65%, 33%)
HSVhsv(326, 79%, 54%)
CMYKcmyk(0%, 79%, 34.1%, 45.9%)
CIE-LABlab(31.90, 49.91, -9.37)
CIE-LCHlch(31.90, 50.78, 349.37°)
OKLaboklab(43.34% 0.1529 -0.0243)
OKLCHoklch(43.34% 0.155 351)
XYZxyz(12.8097, 7.0389, 10.5796)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D5B #1D8A4C
analogous
#831D8A #8A1D5B #8A1D24
triadic
#8A1D5B #5B8A1D #1D5B8A
tetradic
#8A1D5B #8A831D #1D8A4C #1D248A
square
#8A1D5B #8A831D #1D8A4C #1D248A
split-complementary
#8A1D5B #248A1D #1D8A83
monochromatic
#250818 #57123A #8A1D5B #BD287C #D9499B

Accessibility & contrast

On white

8.72
#8A1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D5B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D5B#FFFFFF#000000##FFFFFF
##8A1D5B1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d5b;
/* rgb */ color: rgb(138, 29, 91);
/* oklch */ color: oklch(43.3% 0.155 351.0);
Tailwind
colors: {
  custom: {
    50: '#b06589',
    500: '#8a1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d5b;
$custom-light: #b06589;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d5b",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 325.872,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.15481,
    "h": 351
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#8A1D5B
secondary
#48BB7A
accent
#E88840
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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