#8A1C6F#8A1C6F

#8A1C6F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.168 H 340.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8A1C6F
RGBrgb(138, 28, 111)
HSLhsl(315, 66%, 33%)
HSVhsv(315, 80%, 54%)
CMYKcmyk(0%, 79.7%, 19.6%, 45.9%)
CIE-LABlab(32.66, 52.82, -21.05)
CIE-LCHlch(32.66, 56.87, 338.27°)
OKLaboklab(44.18% 0.1579 -0.0569)
OKLCHoklch(44.18% 0.168 340.2)
XYZxyz(13.7661, 7.3829, 15.7359)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C6F #1C8A37
analogous
#6E1C8A #8A1C6F #8A1C38
triadic
#8A1C6F #6F8A1C #1C6F8A
tetradic
#8A1C6F #8A6E1C #1C8A37 #1C388A
square
#8A1C6F #8A6E1C #1C8A37 #1C388A
split-complementary
#8A1C6F #388A1C #1C8A6E
monochromatic
#24071D #571246 #8A1C6F #BD2698 #DA47B6

Accessibility & contrast

On white

8.48
#8A1C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A1C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C6F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C6F#FFFFFF#000000##FFFFFF
##8A1C6F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#932044
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1c6f;
/* rgb */ color: rgb(138, 28, 111);
/* oklch */ color: oklch(44.2% 0.168 340.2);
Tailwind
colors: {
  custom: {
    50: '#b06698',
    500: '#8a1c6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c6f;
$custom-light: #b06698;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c6f",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 314.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44181,
    "c": 0.16779,
    "h": 340.2
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#8A1C6F
secondary
#46BB63
accent
#E9683F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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