#8A1C6B#8A1C6B

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

Color values

HEX#8A1C6B
RGBrgb(138, 28, 107)
HSLhsl(317, 66%, 33%)
HSVhsv(317, 80%, 54%)
CMYKcmyk(0%, 79.7%, 22.5%, 45.9%)
CIE-LABlab(32.47, 52.27, -18.80)
CIE-LCHlch(32.47, 55.55, 340.22°)
OKLaboklab(43.98% 0.1573 -0.0505)
OKLCHoklch(43.98% 0.165 342.2)
XYZxyz(13.5508, 7.2967, 14.6018)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C6B #1C8A3B
analogous
#721C8A #8A1C6B #8A1C34
triadic
#8A1C6B #6B8A1C #1C6B8A
tetradic
#8A1C6B #8A721C #1C8A3B #1C348A
square
#8A1C6B #8A721C #1C8A3B #1C348A
split-complementary
#8A1C6B #348A1C #1C8A72
monochromatic
#24071C #571244 #8A1C6B #BD2692 #DA47B0

Accessibility & contrast

On white

8.54
#8A1C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C6B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C6B#FFFFFF#000000##FFFFFF
##8A1C6B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#931D42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1c6b;
/* rgb */ color: rgb(138, 28, 107);
/* oklch */ color: oklch(44.0% 0.165 342.2);
Tailwind
colors: {
  custom: {
    50: '#b06595',
    500: '#8a1c6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c6b;
$custom-light: #b06595;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c6b",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 316.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43982,
    "c": 0.16519,
    "h": 342.2
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#8A1C6B
secondary
#46BB67
accent
#E96F3F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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