#8A1E6F#8A1E6F

#8A1E6F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.166 H 340.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8A1E6F
RGBrgb(138, 30, 111)
HSLhsl(315, 64%, 33%)
HSVhsv(315, 78%, 54%)
CMYKcmyk(0%, 78.3%, 19.6%, 45.9%)
CIE-LABlab(32.88, 52.21, -20.72)
CIE-LCHlch(32.88, 56.17, 338.35°)
OKLaboklab(44.34% 0.156 -0.0559)
OKLCHoklch(44.34% 0.166 340.3)
XYZxyz(13.8152, 7.4809, 15.7522)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E6F #1E8A39
analogous
#6F1E8A #8A1E6F #8A1E39
triadic
#8A1E6F #6F8A1E #1E6F8A
tetradic
#8A1E6F #8A6F1E #1E8A39 #1E398A
square
#8A1E6F #8A6F1E #1E8A39 #1E398A
split-complementary
#8A1E6F #398A1E #1E8A6F
monochromatic
#25081E #581347 #8A1E6F #BC2997 #D84BB4

Accessibility & contrast

On white

8.41
#8A1E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E6F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E6F#FFFFFF#000000##FFFFFF
##8A1E6F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264271
Deuteranopia (green-blind)
#4A536D
Tritanopia (blue-blind)
#932244
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1e6f;
/* rgb */ color: rgb(138, 30, 111);
/* oklch */ color: oklch(44.3% 0.166 340.3);
Tailwind
colors: {
  custom: {
    50: '#b06698',
    500: '#8a1e6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e6f;
$custom-light: #b06698;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e6f",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 315,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44336,
    "c": 0.16573,
    "h": 340.3
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#8A1E6F
secondary
#4ABA66
accent
#E76A41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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