#8A1E63#8A1E63

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

Color values

HEX#8A1E63
RGBrgb(138, 30, 99)
HSLhsl(322, 64%, 33%)
HSVhsv(322, 78%, 54%)
CMYKcmyk(0%, 78.3%, 28.3%, 45.9%)
CIE-LABlab(32.33, 50.58, -13.88)
CIE-LCHlch(32.33, 52.45, 344.66°)
OKLaboklab(43.77% 0.1538 -0.0367)
OKLCHoklch(43.77% 0.158 346.6)
XYZxyz(13.1983, 7.2342, 12.5032)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E63 #1E8A45
analogous
#7B1E8A #8A1E63 #8A1E2D
triadic
#8A1E63 #638A1E #1E638A
tetradic
#8A1E63 #8A7B1E #1E8A45 #1E2D8A
square
#8A1E63 #8A7B1E #1E8A45 #1E2D8A
split-complementary
#8A1E63 #2D8A1E #1E8A7B
monochromatic
#25081B #58133F #8A1E63 #BC2987 #D84BA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1E63#FFFFFF#000000##FFFFFF
##8A1E631.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)
#2E4065
Deuteranopia (green-blind)
#4E5361
Tritanopia (blue-blind)
#941A3E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1e63;
/* rgb */ color: rgb(138, 30, 99);
/* oklch */ color: oklch(43.8% 0.158 346.6);
Tailwind
colors: {
  custom: {
    50: '#b0668f',
    500: '#8a1e63',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e63;
$custom-light: #b0668f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e63",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 321.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.15816,
    "h": 346.6
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#8A1E63
secondary
#4ABA72
accent
#E77D41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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