#8A1C51#8A1C51

#8A1C51 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.151 H 356.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8A1C51
RGBrgb(138, 28, 81)
HSLhsl(331, 66%, 33%)
HSVhsv(331, 80%, 54%)
CMYKcmyk(0%, 79.7%, 41.3%, 45.9%)
CIE-LABlab(31.42, 49.09, -3.56)
CIE-LCHlch(31.42, 49.22, 355.86°)
OKLaboklab(42.87% 0.151 -0.0087)
OKLCHoklch(42.87% 0.151 356.7)
XYZxyz(12.3826, 6.8295, 8.4491)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C51 #1C8A55
analogous
#8A1C88 #8A1C51 #8A1E1C
triadic
#8A1C51 #518A1C #1C518A
tetradic
#8A1C51 #888A1C #1C8A55 #1E1C8A
square
#8A1C51 #888A1C #1C8A55 #1E1C8A
split-complementary
#8A1C51 #1C8A1E #1C888A
monochromatic
#240715 #571233 #8A1C51 #BD266F #DA478E

Accessibility & contrast

On white

8.88
#8A1C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C51
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C51#FFFFFF#000000##FFFFFF
##8A1C511.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D52
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#960A34
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c51;
/* rgb */ color: rgb(138, 28, 81);
/* oklch */ color: oklch(42.9% 0.151 356.7);
Tailwind
colors: {
  custom: {
    50: '#b16481',
    500: '#8a1c51',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c51;
$custom-light: #b16481;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c51",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 331.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.1512,
    "h": 356.7
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#8A1C51
secondary
#46BB83
accent
#E9973F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1C51

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

Preview Lab → · Contrast checker → · Palette generator →

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