#8A1D64#8A1D64

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

Color values

HEX#8A1D64
RGBrgb(138, 29, 100)
HSLhsl(321, 65%, 33%)
HSVhsv(321, 79%, 54%)
CMYKcmyk(0%, 79%, 27.5%, 45.9%)
CIE-LABlab(32.27, 51.03, -14.63)
CIE-LCHlch(32.27, 53.08, 344.01°)
OKLaboklab(43.73% 0.155 -0.0388)
OKLCHoklch(43.73% 0.16 345.9)
XYZxyz(13.2215, 7.2036, 12.7483)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D64 #1D8A43
analogous
#791D8A #8A1D64 #8A1D2E
triadic
#8A1D64 #648A1D #1D648A
tetradic
#8A1D64 #8A791D #1D8A43 #1D2E8A
square
#8A1D64 #8A791D #1D8A43 #1D2E8A
split-complementary
#8A1D64 #2E8A1D #1D8A79
monochromatic
#25081B #57123F #8A1D64 #BD2889 #D949A6

Accessibility & contrast

On white

8.61
#8A1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D64
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D64#FFFFFF#000000##FFFFFF
##8A1D641.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4066
Deuteranopia (green-blind)
#4D5362
Tritanopia (blue-blind)
#941A3E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1d64;
/* rgb */ color: rgb(138, 29, 100);
/* oklch */ color: oklch(43.7% 0.160 345.9);
Tailwind
colors: {
  custom: {
    50: '#b06690',
    500: '#8a1d64',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d64;
$custom-light: #b06690;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d64",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 320.917,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.15981,
    "h": 345.9
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#8A1D64
secondary
#48BB70
accent
#E87A40
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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