#8A1B70#8A1B70

#8A1B70 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.169 H 339.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A1B70
RGBrgb(138, 27, 112)
HSLhsl(314, 67%, 32%)
HSVhsv(314, 80%, 54%)
CMYKcmyk(0%, 80.4%, 18.8%, 45.9%)
CIE-LABlab(32.61, 53.26, -21.77)
CIE-LCHlch(32.61, 57.54, 337.76°)
OKLaboklab(44.16% 0.1589 -0.0589)
OKLCHoklch(44.16% 0.169 339.7)
XYZxyz(13.7982, 7.3584, 16.0197)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B70 #1B8A35
analogous
#6D1B8A #8A1B70 #8A1B39
triadic
#8A1B70 #708A1B #1B708A
tetradic
#8A1B70 #8A6D1B #1B8A35 #1B398A
square
#8A1B70 #8A6D1B #1B8A35 #1B398A
split-complementary
#8A1B70 #398A1B #1B8A6D
monochromatic
#24071D #571146 #8A1B70 #BD259A #DB45B7

Accessibility & contrast

On white

8.50
#8A1B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B70
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B70#FFFFFF#000000##FFFFFF
##8A1B701.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234272
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#922044
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1b70;
/* rgb */ color: rgb(138, 27, 112);
/* oklch */ color: oklch(44.2% 0.169 339.7);
Tailwind
colors: {
  custom: {
    50: '#b06599',
    500: '#8a1b70',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b70;
$custom-light: #b06599;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b70",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 314.054,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.16946,
    "h": 339.7
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#8A1B70
secondary
#45BC61
accent
#EA663E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1B70

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

Preview Lab → · Contrast checker → · Palette generator →

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