#8A1B68#8A1B68

#8A1B68 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.164 H 343.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8A1B68
RGBrgb(138, 27, 104)
HSLhsl(318, 67%, 32%)
HSVhsv(318, 80%, 54%)
CMYKcmyk(0%, 80.4%, 24.6%, 45.9%)
CIE-LABlab(32.23, 52.16, -17.25)
CIE-LCHlch(32.23, 54.94, 341.70°)
OKLaboklab(43.76% 0.1577 -0.0461)
OKLCHoklch(43.76% 0.164 343.7)
XYZxyz(13.3724, 7.1881, 13.7772)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B68 #1B8A3D
analogous
#741B8A #8A1B68 #8A1B31
triadic
#8A1B68 #688A1B #1B688A
tetradic
#8A1B68 #8A741B #1B8A3D #1B318A
square
#8A1B68 #8A741B #1B8A3D #1B318A
split-complementary
#8A1B68 #318A1B #1B8A74
monochromatic
#24071B #571141 #8A1B68 #BD258F #DB45AD

Accessibility & contrast

On white

8.62
#8A1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B68
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B68#FFFFFF#000000##FFFFFF
##8A1B681.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#4B5266
Tritanopia (blue-blind)
#931B40
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1b68;
/* rgb */ color: rgb(138, 27, 104);
/* oklch */ color: oklch(43.8% 0.164 343.7);
Tailwind
colors: {
  custom: {
    50: '#b06593',
    500: '#8a1b68',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b68;
$custom-light: #b06593;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b68",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 318.378,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.16429,
    "h": 343.7
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#8A1B68
secondary
#45BC69
accent
#EA723E
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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