#8A1C56#8A1C56

#8A1C56 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.153 H 353.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8A1C56
RGBrgb(138, 28, 86)
HSLhsl(328, 66%, 33%)
HSVhsv(328, 80%, 54%)
CMYKcmyk(0%, 79.7%, 37.7%, 45.9%)
CIE-LABlab(31.59, 49.64, -6.56)
CIE-LCHlch(31.59, 50.07, 352.47°)
OKLaboklab(43.06% 0.1525 -0.0167)
OKLCHoklch(43.06% 0.153 353.7)
XYZxyz(12.5770, 6.9072, 9.4732)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C56 #1C8A50
analogous
#871C8A #8A1C56 #8A1C1F
triadic
#8A1C56 #568A1C #1C568A
tetradic
#8A1C56 #8A871C #1C8A50 #1C1F8A
square
#8A1C56 #8A871C #1C8A50 #1C1F8A
split-complementary
#8A1C56 #1F8A1C #1C8A87
monochromatic
#240717 #571236 #8A1C56 #BD2676 #DA4794

Accessibility & contrast

On white

8.82
#8A1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A1C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C56
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C56#FFFFFF#000000##FFFFFF
##8A1C561.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E57
Deuteranopia (green-blind)
#515254
Tritanopia (blue-blind)
#950F36
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c56;
/* rgb */ color: rgb(138, 28, 86);
/* oklch */ color: oklch(43.1% 0.153 353.7);
Tailwind
colors: {
  custom: {
    50: '#b16585',
    500: '#8a1c56',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c56;
$custom-light: #b16585;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c56",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 328.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.1534,
    "h": 353.7
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#8A1C56
secondary
#46BB7E
accent
#E98F3F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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