#8A1B75#8A1B75

#8A1B75 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.173 H 337.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8A1B75
RGBrgb(138, 27, 117)
HSLhsl(311, 67%, 32%)
HSVhsv(311, 80%, 54%)
CMYKcmyk(0%, 80.4%, 15.2%, 45.9%)
CIE-LABlab(32.86, 53.98, -24.55)
CIE-LCHlch(32.86, 59.31, 335.54°)
OKLaboklab(44.42% 0.1594 -0.0668)
OKLCHoklch(44.42% 0.173 337.3)
XYZxyz(14.0843, 7.4728, 17.5268)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B75 #1B8A30
analogous
#671B8A #8A1B75 #8A1B3E
triadic
#8A1B75 #758A1B #1B758A
tetradic
#8A1B75 #8A671B #1B8A30 #1B3E8A
square
#8A1B75 #8A671B #1B8A30 #1B3E8A
split-complementary
#8A1B75 #3E8A1B #1B8A67
monochromatic
#24071E #57114A #8A1B75 #BD25A0 #DB45BE

Accessibility & contrast

On white

8.42
#8A1B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B75
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B75#FFFFFF#000000##FFFFFF
##8A1B751.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4377
Deuteranopia (green-blind)
#475372
Tritanopia (blue-blind)
#922347
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1b75;
/* rgb */ color: rgb(138, 27, 117);
/* oklch */ color: oklch(44.4% 0.173 337.3);
Tailwind
colors: {
  custom: {
    50: '#b0669d',
    500: '#8a1b75',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b75;
$custom-light: #b0669d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b75",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 311.351,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.17287,
    "h": 337.3
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#8A1B75
secondary
#45BC5B
accent
#EA5E3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1B75

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

Preview Lab → · Contrast checker → · Palette generator →

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