#8A1B58#8A1B58

#8A1B58 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.155 H 352.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8A1B58
RGBrgb(138, 27, 88)
HSLhsl(327, 67%, 32%)
HSVhsv(327, 80%, 54%)
CMYKcmyk(0%, 80.4%, 36.2%, 45.9%)
CIE-LABlab(31.56, 50.17, -7.92)
CIE-LCHlch(31.56, 50.79, 351.03°)
OKLaboklab(43.06% 0.154 -0.0204)
OKLCHoklch(43.06% 0.155 352.5)
XYZxyz(12.6354, 6.8933, 9.8958)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B58 #1B8A4D
analogous
#851B8A #8A1B58 #8A1B20
triadic
#8A1B58 #588A1B #1B588A
tetradic
#8A1B58 #8A851B #1B8A4D #1B208A
square
#8A1B58 #8A851B #1B8A4D #1B208A
split-complementary
#8A1B58 #208A1B #1B8A85
monochromatic
#240717 #571137 #8A1B58 #BD2579 #DB4597

Accessibility & contrast

On white

8.83
#8A1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A1B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B58
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B58#FFFFFF#000000##FFFFFF
##8A1B581.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D5A
Deuteranopia (green-blind)
#505156
Tritanopia (blue-blind)
#950F37
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1b58;
/* rgb */ color: rgb(138, 27, 88);
/* oklch */ color: oklch(43.1% 0.155 352.5);
Tailwind
colors: {
  custom: {
    50: '#b16487',
    500: '#8a1b58',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b58;
$custom-light: #b16487;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b58",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 327.027,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43058,
    "c": 0.15536,
    "h": 352.5
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#8A1B58
secondary
#45BC7A
accent
#EA8B3E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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