#8A1E66#8A1E66

#8A1E66 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.160 H 344.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8A1E66
RGBrgb(138, 30, 102)
HSLhsl(320, 64%, 33%)
HSVhsv(320, 78%, 54%)
CMYKcmyk(0%, 78.3%, 26.1%, 45.9%)
CIE-LABlab(32.46, 50.97, -15.61)
CIE-LCHlch(32.46, 53.31, 342.98°)
OKLaboklab(43.9% 0.1545 -0.0415)
OKLCHoklch(43.9% 0.16 344.9)
XYZxyz(13.3444, 7.2926, 13.2727)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E66 #1E8A42
analogous
#781E8A #8A1E66 #8A1E30
triadic
#8A1E66 #668A1E #1E668A
tetradic
#8A1E66 #8A781E #1E8A42 #1E308A
square
#8A1E66 #8A781E #1E8A42 #1E308A
split-complementary
#8A1E66 #308A1E #1E8A78
monochromatic
#25081C #581341 #8A1E66 #BC298B #D84BA9

Accessibility & contrast

On white

8.54
#8A1E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E66
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E66#FFFFFF#000000##FFFFFF
##8A1E661.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4168
Deuteranopia (green-blind)
#4D5364
Tritanopia (blue-blind)
#941C40
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1e66;
/* rgb */ color: rgb(138, 30, 102);
/* oklch */ color: oklch(43.9% 0.160 344.9);
Tailwind
colors: {
  custom: {
    50: '#b06691',
    500: '#8a1e66',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e66;
$custom-light: #b06691;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e66",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 320,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43902,
    "c": 0.15996,
    "h": 344.9
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#8A1E66
secondary
#4ABA6F
accent
#E77841
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #8A1E66

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

Preview Lab → · Contrast checker → · Palette generator →

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