#8A1C6E#8A1C6E

#8A1C6E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.167 H 340.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A1C6E
RGBrgb(138, 28, 110)
HSLhsl(315, 66%, 33%)
HSVhsv(315, 80%, 54%)
CMYKcmyk(0%, 79.7%, 20.3%, 45.9%)
CIE-LABlab(32.62, 52.68, -20.49)
CIE-LCHlch(32.62, 56.53, 338.75°)
OKLaboklab(44.13% 0.1577 -0.0553)
OKLCHoklch(44.13% 0.167 340.7)
XYZxyz(13.7114, 7.3610, 15.4475)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C6E #1C8A38
analogous
#6F1C8A #8A1C6E #8A1C37
triadic
#8A1C6E #6E8A1C #1C6E8A
tetradic
#8A1C6E #8A6F1C #1C8A38 #1C378A
square
#8A1C6E #8A6F1C #1C8A38 #1C378A
split-complementary
#8A1C6E #378A1C #1C8A6F
monochromatic
#24071D #571245 #8A1C6E #BD2697 #DA47B4

Accessibility & contrast

On white

8.50
#8A1C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C6E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C6E#FFFFFF#000000##FFFFFF
##8A1C6E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#4A536C
Tritanopia (blue-blind)
#931F43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1c6e;
/* rgb */ color: rgb(138, 28, 110);
/* oklch */ color: oklch(44.1% 0.167 340.7);
Tailwind
colors: {
  custom: {
    50: '#b06698',
    500: '#8a1c6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c6e;
$custom-light: #b06698;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c6e",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 315.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.16714,
    "h": 340.7
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#8A1C6E
secondary
#46BB64
accent
#E96A3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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