#8A1E68#8A1E68

#8A1E68 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.161 H 343.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A1E68
RGBrgb(138, 30, 104)
HSLhsl(319, 64%, 33%)
HSVhsv(319, 78%, 54%)
CMYKcmyk(0%, 78.3%, 24.6%, 45.9%)
CIE-LABlab(32.55, 51.24, -16.75)
CIE-LCHlch(32.55, 53.91, 341.89°)
OKLaboklab(44% 0.1548 -0.0448)
OKLCHoklch(44% 0.161 343.9)
XYZxyz(13.4447, 7.3327, 13.8013)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E68 #1E8A40
analogous
#761E8A #8A1E68 #8A1E32
triadic
#8A1E68 #688A1E #1E688A
tetradic
#8A1E68 #8A761E #1E8A40 #1E328A
square
#8A1E68 #8A761E #1E8A40 #1E328A
split-complementary
#8A1E68 #328A1E #1E8A76
monochromatic
#25081C #581342 #8A1E68 #BC298E #D84BAB

Accessibility & contrast

On white

8.52
#8A1E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E68
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E68#FFFFFF#000000##FFFFFF
##8A1E681.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B416A
Deuteranopia (green-blind)
#4C5366
Tritanopia (blue-blind)
#931D41
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1e68;
/* rgb */ color: rgb(138, 30, 104);
/* oklch */ color: oklch(44.0% 0.161 343.9);
Tailwind
colors: {
  custom: {
    50: '#b06693',
    500: '#8a1e68',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e68;
$custom-light: #b06693;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e68",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 318.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43995,
    "c": 0.16119,
    "h": 343.9
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#8A1E68
secondary
#4ABA6D
accent
#E77541
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1E68

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

Preview Lab → · Contrast checker → · Palette generator →

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