#8A1D6F#8A1D6F

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

Color values

HEX#8A1D6F
RGBrgb(138, 29, 111)
HSLhsl(315, 65%, 33%)
HSVhsv(315, 79%, 54%)
CMYKcmyk(0%, 79%, 19.6%, 45.9%)
CIE-LABlab(32.77, 52.52, -20.89)
CIE-LCHlch(32.77, 56.52, 338.31°)
OKLaboklab(44.26% 0.1569 -0.0564)
OKLCHoklch(44.26% 0.167 340.2)
XYZxyz(13.7903, 7.4311, 15.7439)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D6F #1D8A38
analogous
#6E1D8A #8A1D6F #8A1D39
triadic
#8A1D6F #6F8A1D #1D6F8A
tetradic
#8A1D6F #8A6E1D #1D8A38 #1D398A
square
#8A1D6F #8A6E1D #1D8A38 #1D398A
split-complementary
#8A1D6F #398A1D #1D8A6E
monochromatic
#25081E #571246 #8A1D6F #BD2898 #D949B5

Accessibility & contrast

On white

8.45
#8A1D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D6F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D6F#FFFFFF#000000##FFFFFF
##8A1D6F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d6f;
/* rgb */ color: rgb(138, 29, 111);
/* oklch */ color: oklch(44.3% 0.167 340.2);
Tailwind
colors: {
  custom: {
    50: '#b06698',
    500: '#8a1d6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d6f;
$custom-light: #b06698;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d6f",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 314.862,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44258,
    "c": 0.16677,
    "h": 340.2
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#8A1D6F
secondary
#48BB64
accent
#E86940
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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