#8A1C64#8A1C64

#8A1C64 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.161 H 345.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8A1C64
RGBrgb(138, 28, 100)
HSLhsl(321, 66%, 33%)
HSVhsv(321, 80%, 54%)
CMYKcmyk(0%, 79.7%, 27.5%, 45.9%)
CIE-LABlab(32.16, 51.33, -14.79)
CIE-LCHlch(32.16, 53.42, 343.93°)
OKLaboklab(43.65% 0.156 -0.0393)
OKLCHoklch(43.65% 0.161 345.9)
XYZxyz(13.1973, 7.1554, 12.7402)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C64 #1C8A42
analogous
#791C8A #8A1C64 #8A1C2D
triadic
#8A1C64 #648A1C #1C648A
tetradic
#8A1C64 #8A791C #1C8A42 #1C2D8A
square
#8A1C64 #8A791C #1C8A42 #1C2D8A
split-complementary
#8A1C64 #2D8A1C #1C8A79
monochromatic
#24071A #57123F #8A1C64 #BD2689 #DA47A7

Accessibility & contrast

On white

8.64
#8A1C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A1C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C64
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C64#FFFFFF#000000##FFFFFF
##8A1C641.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4066
Deuteranopia (green-blind)
#4D5262
Tritanopia (blue-blind)
#94193E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1c64;
/* rgb */ color: rgb(138, 28, 100);
/* oklch */ color: oklch(43.7% 0.161 345.9);
Tailwind
colors: {
  custom: {
    50: '#b06590',
    500: '#8a1c64',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c64;
$custom-light: #b06590;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c64",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 320.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.16085,
    "h": 345.9
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#8A1C64
secondary
#46BB6F
accent
#E97A3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1C64

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

Preview Lab → · Contrast checker → · Palette generator →

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