#8A1A55#8A1A55

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

Color values

HEX#8A1A55
RGBrgb(138, 26, 85)
HSLhsl(328, 68%, 32%)
HSVhsv(328, 81%, 54%)
CMYKcmyk(0%, 81.2%, 38.4%, 45.9%)
CIE-LABlab(31.35, 50.13, -6.28)
CIE-LCHlch(31.35, 50.52, 352.86°)
OKLaboklab(42.86% 0.1541 -0.016)
OKLCHoklch(42.86% 0.155 354.1)
XYZxyz(12.4912, 6.7995, 9.2472)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A55 #1A8A4F
analogous
#871A8A #8A1A55 #8A1A1D
triadic
#8A1A55 #558A1A #1A558A
tetradic
#8A1A55 #8A871A #1A8A4F #1A1D8A
square
#8A1A55 #8A871A #1A8A4F #1A1D8A
split-complementary
#8A1A55 #1D8A1A #1A8A87
monochromatic
#230716 #571035 #8A1A55 #BD2475 #DC4393

Accessibility & contrast

On white

8.90
#8A1A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A55
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A55#FFFFFF#000000##FFFFFF
##8A1A551.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D56
Deuteranopia (green-blind)
#515153
Tritanopia (blue-blind)
#950A35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1a55;
/* rgb */ color: rgb(138, 26, 85);
/* oklch */ color: oklch(42.9% 0.155 354.1);
Tailwind
colors: {
  custom: {
    50: '#b16484',
    500: '#8a1a55',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a55;
$custom-light: #b16484;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a55",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 328.393,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.15494,
    "h": 354.1
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#8A1A55
secondary
#43BD7D
accent
#EB8F3D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1A55

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

Preview Lab → · Contrast checker → · Palette generator →

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