#8A1A59#8A1A59

#8A1A59 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.157 H 351.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8A1A59
RGBrgb(138, 26, 89)
HSLhsl(326, 68%, 32%)
HSVhsv(326, 81%, 54%)
CMYKcmyk(0%, 81.2%, 35.5%, 45.9%)
CIE-LABlab(31.50, 50.58, -8.67)
CIE-LCHlch(31.50, 51.32, 350.28°)
OKLaboklab(43.02% 0.1552 -0.0224)
OKLCHoklch(43.02% 0.157 351.8)
XYZxyz(12.6546, 6.8649, 10.1079)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A59 #1A8A4B
analogous
#831A8A #8A1A59 #8A1A21
triadic
#8A1A59 #598A1A #1A598A
tetradic
#8A1A59 #8A831A #1A8A4B #1A218A
square
#8A1A59 #8A831A #1A8A4B #1A218A
split-complementary
#8A1A59 #218A1A #1A8A83
monochromatic
#230717 #571038 #8A1A59 #BD247A #DC4399

Accessibility & contrast

On white

8.85
#8A1A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A59
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A59#FFFFFF#000000##FFFFFF
##8A1A591.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D5B
Deuteranopia (green-blind)
#505157
Tritanopia (blue-blind)
#950E37
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1a59;
/* rgb */ color: rgb(138, 26, 89);
/* oklch */ color: oklch(43.0% 0.157 351.8);
Tailwind
colors: {
  custom: {
    50: '#b16487',
    500: '#8a1a59',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a59;
$custom-light: #b16487;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a59",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 89
  },
  "hsl": {
    "h": 326.25,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.15685,
    "h": 351.8
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#8A1A59
secondary
#43BD78
accent
#EB893D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1A59

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

Preview Lab → · Contrast checker → · Palette generator →

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