#8A1D63#8A1D63

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

Color values

HEX#8A1D63
RGBrgb(138, 29, 99)
HSLhsl(321, 65%, 33%)
HSVhsv(321, 79%, 54%)
CMYKcmyk(0%, 79%, 28.3%, 45.9%)
CIE-LABlab(32.22, 50.90, -14.05)
CIE-LCHlch(32.22, 52.80, 344.57°)
OKLaboklab(43.68% 0.1548 -0.0372)
OKLCHoklch(43.68% 0.159 346.5)
XYZxyz(13.1734, 7.1843, 12.4949)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D63 #1D8A44
analogous
#7A1D8A #8A1D63 #8A1D2C
triadic
#8A1D63 #638A1D #1D638A
tetradic
#8A1D63 #8A7A1D #1D8A44 #1D2C8A
square
#8A1D63 #8A7A1D #1D8A44 #1D2C8A
split-complementary
#8A1D63 #2C8A1D #1D8A7A
monochromatic
#25081A #57123F #8A1D63 #BD2887 #D949A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1D63#FFFFFF#000000##FFFFFF
##8A1D631.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)
#2D4065
Deuteranopia (green-blind)
#4E5261
Tritanopia (blue-blind)
#94193E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1d63;
/* rgb */ color: rgb(138, 29, 99);
/* oklch */ color: oklch(43.7% 0.159 346.5);
Tailwind
colors: {
  custom: {
    50: '#b0668f',
    500: '#8a1d63',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d63;
$custom-light: #b0668f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d63",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 321.468,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.15923,
    "h": 346.5
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#8A1D63
secondary
#48BB71
accent
#E87C40
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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