#8A1C6D#8A1C6D

#8A1C6D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.166 H 341.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A1C6D
RGBrgb(138, 28, 109)
HSLhsl(316, 66%, 33%)
HSVhsv(316, 80%, 54%)
CMYKcmyk(0%, 79.7%, 21%, 45.9%)
CIE-LABlab(32.57, 52.54, -19.93)
CIE-LCHlch(32.57, 56.20, 339.23°)
OKLaboklab(44.08% 0.1576 -0.0537)
OKLCHoklch(44.08% 0.166 341.2)
XYZxyz(13.6573, 7.3393, 15.1624)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C6D #1C8A39
analogous
#701C8A #8A1C6D #8A1C36
triadic
#8A1C6D #6D8A1C #1C6D8A
tetradic
#8A1C6D #8A701C #1C8A39 #1C368A
square
#8A1C6D #8A701C #1C8A39 #1C368A
split-complementary
#8A1C6D #368A1C #1C8A70
monochromatic
#24071D #571245 #8A1C6D #BD2695 #DA47B3

Accessibility & contrast

On white

8.51
#8A1C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C6D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C6D#FFFFFF#000000##FFFFFF
##8A1C6D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#4A536B
Tritanopia (blue-blind)
#931F43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1c6d;
/* rgb */ color: rgb(138, 28, 109);
/* oklch */ color: oklch(44.1% 0.166 341.2);
Tailwind
colors: {
  custom: {
    50: '#b06697',
    500: '#8a1c6d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c6d;
$custom-light: #b06697;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c6d",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 315.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44081,
    "c": 0.16648,
    "h": 341.2
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#8A1C6D
secondary
#46BB65
accent
#E96C3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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