#8A1B73#8A1B73

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

Color values

HEX#8A1B73
RGBrgb(138, 27, 115)
HSLhsl(312, 67%, 32%)
HSVhsv(312, 80%, 54%)
CMYKcmyk(0%, 80.4%, 16.7%, 45.9%)
CIE-LABlab(32.76, 53.69, -23.45)
CIE-LCHlch(32.76, 58.59, 336.41°)
OKLaboklab(44.31% 0.1592 -0.0637)
OKLCHoklch(44.31% 0.171 338.2)
XYZxyz(13.9680, 7.4263, 16.9141)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B73 #1B8A32
analogous
#691B8A #8A1B73 #8A1B3C
triadic
#8A1B73 #738A1B #1B738A
tetradic
#8A1B73 #8A691B #1B8A32 #1B3C8A
square
#8A1B73 #8A691B #1B8A32 #1B3C8A
split-complementary
#8A1B73 #3C8A1B #1B8A69
monochromatic
#24071E #571148 #8A1B73 #BD259E #DB45BC

Accessibility & contrast

On white

8.45
#8A1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B73
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B73#FFFFFF#000000##FFFFFF
##8A1B731.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b73;
/* rgb */ color: rgb(138, 27, 115);
/* oklch */ color: oklch(44.3% 0.171 338.2);
Tailwind
colors: {
  custom: {
    50: '#b0659b',
    500: '#8a1b73',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b73;
$custom-light: #b0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b73",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 312.432,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.17149,
    "h": 338.2
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#8A1B73
secondary
#45BC5D
accent
#EA613E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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