#8A1B67#8A1B67

#8A1B67 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.164 H 344.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8A1B67
RGBrgb(138, 27, 103)
HSLhsl(319, 67%, 32%)
HSVhsv(319, 80%, 54%)
CMYKcmyk(0%, 80.4%, 25.4%, 45.9%)
CIE-LABlab(32.19, 52.03, -16.68)
CIE-LCHlch(32.19, 54.63, 342.23°)
OKLaboklab(43.72% 0.1575 -0.0445)
OKLCHoklch(43.72% 0.164 344.2)
XYZxyz(13.3219, 7.1679, 13.5113)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B67 #1B8A3E
analogous
#761B8A #8A1B67 #8A1B2F
triadic
#8A1B67 #678A1B #1B678A
tetradic
#8A1B67 #8A761B #1B8A3E #1B2F8A
square
#8A1B67 #8A761B #1B8A3E #1B2F8A
split-complementary
#8A1B67 #2F8A1B #1B8A76
monochromatic
#24071B #571141 #8A1B67 #BD258D #DB45AB

Accessibility & contrast

On white

8.63
#8A1B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A1B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B67
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B67#FFFFFF#000000##FFFFFF
##8A1B671.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294069
Deuteranopia (green-blind)
#4C5265
Tritanopia (blue-blind)
#941A3F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1b67;
/* rgb */ color: rgb(138, 27, 103);
/* oklch */ color: oklch(43.7% 0.164 344.2);
Tailwind
colors: {
  custom: {
    50: '#b06592',
    500: '#8a1b67',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b67;
$custom-light: #b06592;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b67",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 318.919,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.16367,
    "h": 344.2
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#8A1B67
secondary
#45BC6A
accent
#EA743E
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1B67

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

Preview Lab → · Contrast checker → · Palette generator →

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