#8A1D5C#8A1D5C

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

Color values

HEX#8A1D5C
RGBrgb(138, 29, 92)
HSLhsl(325, 65%, 33%)
HSVhsv(325, 79%, 54%)
CMYKcmyk(0%, 79%, 33.3%, 45.9%)
CIE-LABlab(31.93, 50.03, -9.96)
CIE-LCHlch(31.93, 51.01, 348.74°)
OKLaboklab(43.38% 0.1532 -0.0259)
OKLCHoklch(43.38% 0.155 350.4)
XYZxyz(12.8531, 7.0562, 10.8083)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D5C #1D8A4B
analogous
#811D8A #8A1D5C #8A1D26
triadic
#8A1D5C #5C8A1D #1D5C8A
tetradic
#8A1D5C #8A811D #1D8A4B #1D268A
square
#8A1D5C #8A811D #1D8A4B #1D268A
split-complementary
#8A1D5C #268A1D #1D8A81
monochromatic
#250819 #57123A #8A1D5C #BD287E #D9499C

Accessibility & contrast

On white

8.71
#8A1D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D5C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D5C#FFFFFF#000000##FFFFFF
##8A1D5C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5E
Deuteranopia (green-blind)
#50525A
Tritanopia (blue-blind)
#95153A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1d5c;
/* rgb */ color: rgb(138, 29, 92);
/* oklch */ color: oklch(43.4% 0.155 350.4);
Tailwind
colors: {
  custom: {
    50: '#b0658a',
    500: '#8a1d5c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d5c;
$custom-light: #b0658a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d5c",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 325.321,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.15534,
    "h": 350.4
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#8A1D5C
secondary
#48BB78
accent
#E88740
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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