#8A1A6E#8A1A6E

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

Color values

HEX#8A1A6E
RGBrgb(138, 26, 110)
HSLhsl(315, 68%, 32%)
HSVhsv(315, 81%, 54%)
CMYKcmyk(0%, 81.2%, 20.3%, 45.9%)
CIE-LABlab(32.41, 53.26, -20.81)
CIE-LCHlch(32.41, 57.18, 338.66°)
OKLaboklab(43.99% 0.1595 -0.0562)
OKLCHoklch(43.99% 0.169 340.6)
XYZxyz(13.6655, 7.2693, 15.4323)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A6E #1A8A36
analogous
#6E1A8A #8A1A6E #8A1A36
triadic
#8A1A6E #6E8A1A #1A6E8A
tetradic
#8A1A6E #8A6E1A #1A8A36 #1A368A
square
#8A1A6E #8A6E1A #1A8A36 #1A368A
split-complementary
#8A1A6E #368A1A #1A8A6E
monochromatic
#23071C #571045 #8A1A6E #BD2497 #DC43B5

Accessibility & contrast

On white

8.56
#8A1A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A6E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A6E#FFFFFF#000000##FFFFFF
##8A1A6E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#49536C
Tritanopia (blue-blind)
#931E43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1a6e;
/* rgb */ color: rgb(138, 26, 110);
/* oklch */ color: oklch(44.0% 0.169 340.6);
Tailwind
colors: {
  custom: {
    50: '#b06598',
    500: '#8a1a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a6e;
$custom-light: #b06598;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a6e",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 315,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43985,
    "c": 0.1691,
    "h": 340.6
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#8A1A6E
secondary
#43BD62
accent
#EB683D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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