#8A1D56#8A1D56

#8A1D56 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.152 H 353.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A1D56
RGBrgb(138, 29, 86)
HSLhsl(329, 65%, 33%)
HSVhsv(329, 79%, 54%)
CMYKcmyk(0%, 79%, 37.7%, 45.9%)
CIE-LABlab(31.71, 49.33, -6.40)
CIE-LCHlch(31.71, 49.74, 352.61°)
OKLaboklab(43.14% 0.1515 -0.0163)
OKLCHoklch(43.14% 0.152 353.9)
XYZxyz(12.6011, 6.9555, 9.4813)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D56 #1D8A51
analogous
#871D8A #8A1D56 #8A1D20
triadic
#8A1D56 #568A1D #1D568A
tetradic
#8A1D56 #8A871D #1D8A51 #1D208A
square
#8A1D56 #8A871D #1D8A51 #1D208A
split-complementary
#8A1D56 #208A1D #1D8A87
monochromatic
#250817 #571236 #8A1D56 #BD2876 #D94994

Accessibility & contrast

On white

8.78
#8A1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D56
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D56#FFFFFF#000000##FFFFFF
##8A1D561.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#515254
Tritanopia (blue-blind)
#951037
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1d56;
/* rgb */ color: rgb(138, 29, 86);
/* oklch */ color: oklch(43.1% 0.152 353.9);
Tailwind
colors: {
  custom: {
    50: '#b16585',
    500: '#8a1d56',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d56;
$custom-light: #b16585;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d56",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 328.624,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.15236,
    "h": 353.9
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#8A1D56
secondary
#48BB7F
accent
#E89040
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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