#8D1A6E#8D1A6E

#8D1A6E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.171 H 341.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8D1A6E
RGBrgb(141, 26, 110)
HSLhsl(316, 69%, 33%)
HSVhsv(316, 82%, 55%)
CMYKcmyk(0%, 81.6%, 22%, 44.7%)
CIE-LABlab(32.98, 53.99, -19.88)
CIE-LCHlch(32.98, 57.53, 339.79°)
OKLaboklab(44.5% 0.1623 -0.0535)
OKLCHoklch(44.5% 0.171 341.8)
XYZxyz(14.1689, 7.5288, 15.4558)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A6E #1A8D39
analogous
#721A8D #8D1A6E #8D1A34
triadic
#8D1A6E #6E8D1A #1A6E8D
tetradic
#8D1A6E #8D721A #1A8D39 #1A348D
square
#8D1A6E #8D721A #1A8D39 #1A348D
split-complementary
#8D1A6E #348D1A #1A8D72
monochromatic
#26071D #591046 #8D1A6E #C12496 #DD45B4

Accessibility & contrast

On white

8.38
#8D1A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8D1A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A6E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A6E#FFFFFF#000000##FFFFFF
##8D1A6E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#961C43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1a6e;
/* rgb */ color: rgb(141, 26, 110);
/* oklch */ color: oklch(44.5% 0.171 341.8);
Tailwind
colors: {
  custom: {
    50: '#b26597',
    500: '#8d1a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a6e;
$custom-light: #b26597;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a6e",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 316.174,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.445,
    "c": 0.17092,
    "h": 341.8
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#8D1A6E
secondary
#45BE65
accent
#EC6B3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D1A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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