#8A1B6F#8A1B6F

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

Color values

HEX#8A1B6F
RGBrgb(138, 27, 111)
HSLhsl(315, 67%, 32%)
HSVhsv(315, 80%, 54%)
CMYKcmyk(0%, 80.4%, 19.6%, 45.9%)
CIE-LABlab(32.56, 53.12, -21.21)
CIE-LCHlch(32.56, 57.20, 338.23°)
OKLaboklab(44.11% 0.1588 -0.0573)
OKLCHoklch(44.11% 0.169 340.1)
XYZxyz(13.7428, 7.3362, 15.7281)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B6F #1B8A36
analogous
#6E1B8A #8A1B6F #8A1B37
triadic
#8A1B6F #6F8A1B #1B6F8A
tetradic
#8A1B6F #8A6E1B #1B8A36 #1B378A
square
#8A1B6F #8A6E1B #1B8A36 #1B378A
split-complementary
#8A1B6F #378A1B #1B8A6E
monochromatic
#24071D #571146 #8A1B6F #BD2598 #DB45B6

Accessibility & contrast

On white

8.51
#8A1B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B6F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B6F#FFFFFF#000000##FFFFFF
##8A1B6F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#931F44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1b6f;
/* rgb */ color: rgb(138, 27, 111);
/* oklch */ color: oklch(44.1% 0.169 340.1);
Tailwind
colors: {
  custom: {
    50: '#b06598',
    500: '#8a1b6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b6f;
$custom-light: #b06598;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b6f",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 314.595,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.16879,
    "h": 340.1
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#8A1B6F
secondary
#45BC62
accent
#EA683E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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