#8D1F6D#8D1F6D

#8D1F6D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.165 H 342.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8D1F6D
RGBrgb(141, 31, 109)
HSLhsl(317, 64%, 34%)
HSVhsv(317, 78%, 55%)
CMYKcmyk(0%, 78%, 22.7%, 44.7%)
CIE-LABlab(33.45, 52.37, -18.51)
CIE-LCHlch(33.45, 55.55, 340.53°)
OKLaboklab(44.83% 0.1576 -0.0497)
OKLCHoklch(44.83% 0.165 342.5)
XYZxyz(14.2353, 7.7483, 15.2109)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F6D #1F8D3F
analogous
#761F8D #8D1F6D #8D1F36
triadic
#8D1F6D #6D8D1F #1F6D8D
tetradic
#8D1F6D #8D761F #1F8D3F #1F368D
square
#8D1F6D #8D761F #1F8D3F #1F368D
split-complementary
#8D1F6D #368D1F #1F8D76
monochromatic
#29091F #5B1446 #8D1F6D #BF2A94 #D84EB0

Accessibility & contrast

On white

8.24
#8D1F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F6D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F6D#FFFFFF#000000##FFFFFF
##8D1F6D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#962044
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1f6d;
/* rgb */ color: rgb(141, 31, 109);
/* oklch */ color: oklch(44.8% 0.165 342.5);
Tailwind
colors: {
  custom: {
    50: '#b26797',
    500: '#8d1f6d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f6d;
$custom-light: #b26797;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f6d",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 317.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.16528,
    "h": 342.5
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#8D1F6D
secondary
#4DBB6D
accent
#E77141
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D1F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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