#8A1B60#8A1B60

#8A1B60 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.160 H 348.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8A1B60
RGBrgb(138, 27, 96)
HSLhsl(323, 67%, 32%)
HSVhsv(323, 80%, 54%)
CMYKcmyk(0%, 80.4%, 30.4%, 45.9%)
CIE-LABlab(31.88, 51.13, -12.63)
CIE-LCHlch(31.88, 52.66, 346.12°)
OKLaboklab(43.4% 0.1561 -0.0333)
OKLCHoklch(43.4% 0.16 348)
XYZxyz(12.9852, 7.0332, 11.7378)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B60 #1B8A45
analogous
#7D1B8A #8A1B60 #8A1B28
triadic
#8A1B60 #608A1B #1B608A
tetradic
#8A1B60 #8A7D1B #1B8A45 #1B288A
square
#8A1B60 #8A7D1B #1B8A45 #1B288A
split-complementary
#8A1B60 #288A1B #1B8A7D
monochromatic
#240719 #57113C #8A1B60 #BD2584 #DB45A2

Accessibility & contrast

On white

8.73
#8A1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B60
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B60#FFFFFF#000000##FFFFFF
##8A1B601.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F62
Deuteranopia (green-blind)
#4E525E
Tritanopia (blue-blind)
#94153B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1b60;
/* rgb */ color: rgb(138, 27, 96);
/* oklch */ color: oklch(43.4% 0.160 348.0);
Tailwind
colors: {
  custom: {
    50: '#b0658d',
    500: '#8a1b60',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b60;
$custom-light: #b0658d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b60",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 322.703,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.15956,
    "h": 348
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#8A1B60
secondary
#45BC72
accent
#EA7F3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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