#8A1B6E#8A1B6E

#8A1B6E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.168 H 340.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8A1B6E
RGBrgb(138, 27, 110)
HSLhsl(315, 67%, 32%)
HSVhsv(315, 80%, 54%)
CMYKcmyk(0%, 80.4%, 20.3%, 45.9%)
CIE-LABlab(32.51, 52.98, -20.65)
CIE-LCHlch(32.51, 56.86, 338.70°)
OKLaboklab(44.06% 0.1586 -0.0557)
OKLCHoklch(44.06% 0.168 340.6)
XYZxyz(13.6881, 7.3143, 15.4398)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B6E #1B8A37
analogous
#6F1B8A #8A1B6E #8A1B37
triadic
#8A1B6E #6E8A1B #1B6E8A
tetradic
#8A1B6E #8A6F1B #1B8A37 #1B378A
square
#8A1B6E #8A6F1B #1B8A37 #1B378A
split-complementary
#8A1B6E #378A1B #1B8A6F
monochromatic
#24071C #571145 #8A1B6E #BD2597 #DB45B5

Accessibility & contrast

On white

8.53
#8A1B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B6E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B6E#FFFFFF#000000##FFFFFF
##8A1B6E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#49536C
Tritanopia (blue-blind)
#931E43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1b6e;
/* rgb */ color: rgb(138, 27, 110);
/* oklch */ color: oklch(44.1% 0.168 340.6);
Tailwind
colors: {
  custom: {
    50: '#b06598',
    500: '#8a1b6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b6e;
$custom-light: #b06598;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b6e",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 315.135,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.16813,
    "h": 340.6
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#8A1B6E
secondary
#45BC63
accent
#EA693E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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