#8A1B63#8A1B63

#8A1B63 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.161 H 346.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8A1B63
RGBrgb(138, 27, 99)
HSLhsl(321, 67%, 32%)
HSVhsv(321, 80%, 54%)
CMYKcmyk(0%, 80.4%, 28.3%, 45.9%)
CIE-LABlab(32.01, 51.51, -14.37)
CIE-LCHlch(32.01, 53.47, 344.41°)
OKLaboklab(43.53% 0.1567 -0.0381)
OKLCHoklch(43.53% 0.161 346.3)
XYZxyz(13.1259, 7.0895, 12.4791)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B63 #1B8A42
analogous
#7A1B8A #8A1B63 #8A1B2C
triadic
#8A1B63 #638A1B #1B638A
tetradic
#8A1B63 #8A7A1B #1B8A42 #1B2C8A
square
#8A1B63 #8A7A1B #1B8A42 #1B2C8A
split-complementary
#8A1B63 #2C8A1B #1B8A7A
monochromatic
#24071A #57113E #8A1B63 #BD2588 #DB45A6

Accessibility & contrast

On white

8.69
#8A1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A1B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B63
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B63#FFFFFF#000000##FFFFFF
##8A1B631.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F65
Deuteranopia (green-blind)
#4D5261
Tritanopia (blue-blind)
#94173D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1b63;
/* rgb */ color: rgb(138, 27, 99);
/* oklch */ color: oklch(43.5% 0.161 346.3);
Tailwind
colors: {
  custom: {
    50: '#b0658f',
    500: '#8a1b63',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b63;
$custom-light: #b0658f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b63",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 321.081,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43529,
    "c": 0.16128,
    "h": 346.3
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#8A1B63
secondary
#45BC6F
accent
#EA7A3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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