#8A1C68#8A1C68

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

Color values

HEX#8A1C68
RGBrgb(138, 28, 104)
HSLhsl(319, 66%, 33%)
HSVhsv(319, 80%, 54%)
CMYKcmyk(0%, 79.7%, 24.6%, 45.9%)
CIE-LABlab(32.34, 51.86, -17.09)
CIE-LCHlch(32.34, 54.60, 341.76°)
OKLaboklab(43.84% 0.1568 -0.0457)
OKLCHoklch(43.84% 0.163 343.8)
XYZxyz(13.3957, 7.2347, 13.7850)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C68 #1C8A3E
analogous
#751C8A #8A1C68 #8A1C31
triadic
#8A1C68 #688A1C #1C688A
tetradic
#8A1C68 #8A751C #1C8A3E #1C318A
square
#8A1C68 #8A751C #1C8A3E #1C318A
split-complementary
#8A1C68 #318A1C #1C8A75
monochromatic
#24071B #571242 #8A1C68 #BD268E #DA47AC

Accessibility & contrast

On white

8.58
#8A1C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C68
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C68#FFFFFF#000000##FFFFFF
##8A1C681.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1c68;
/* rgb */ color: rgb(138, 28, 104);
/* oklch */ color: oklch(43.8% 0.163 343.8);
Tailwind
colors: {
  custom: {
    50: '#b06593',
    500: '#8a1c68',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c68;
$custom-light: #b06593;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c68",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 318.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.16328,
    "h": 343.8
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#8A1C68
secondary
#46BB6B
accent
#E9733F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1C68

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

Preview Lab → · Contrast checker → · Palette generator →

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