#8A1A73#8A1A73

#8A1A73 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.172 H 338.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8A1A73
RGBrgb(138, 26, 115)
HSLhsl(312, 68%, 32%)
HSVhsv(312, 81%, 54%)
CMYKcmyk(0%, 81.2%, 16.7%, 45.9%)
CIE-LABlab(32.66, 53.98, -23.60)
CIE-LCHlch(32.66, 58.91, 336.38°)
OKLaboklab(44.24% 0.1601 -0.0641)
OKLCHoklch(44.24% 0.172 338.2)
XYZxyz(13.9455, 7.3812, 16.9066)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A73 #1A8A31
analogous
#691A8A #8A1A73 #8A1A3B
triadic
#8A1A73 #738A1A #1A738A
tetradic
#8A1A73 #8A691A #1A8A31 #1A3B8A
square
#8A1A73 #8A691A #1A8A31 #1A3B8A
split-complementary
#8A1A73 #3B8A1A #1A8A69
monochromatic
#23071D #571048 #8A1A73 #BD249E #DC43BC

Accessibility & contrast

On white

8.48
#8A1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A73
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A73#FFFFFF#000000##FFFFFF
##8A1A731.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204275
Deuteranopia (green-blind)
#475370
Tritanopia (blue-blind)
#922146
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1a73;
/* rgb */ color: rgb(138, 26, 115);
/* oklch */ color: oklch(44.2% 0.172 338.2);
Tailwind
colors: {
  custom: {
    50: '#b0659b',
    500: '#8a1a73',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a73;
$custom-light: #b0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a73",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 312.321,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44243,
    "c": 0.17245,
    "h": 338.2
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#8A1A73
secondary
#43BD5C
accent
#EB603D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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