#8D1F6E#8D1F6E

#8D1F6E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.166 H 342.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8D1F6E
RGBrgb(141, 31, 110)
HSLhsl(317, 64%, 34%)
HSVhsv(317, 78%, 55%)
CMYKcmyk(0%, 78%, 22%, 44.7%)
CIE-LABlab(33.50, 52.51, -19.08)
CIE-LCHlch(33.50, 55.87, 340.03°)
OKLaboklab(44.87% 0.1578 -0.0512)
OKLCHoklch(44.87% 0.166 342)
XYZxyz(14.2895, 7.7700, 15.4960)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F6E #1F8D3E
analogous
#751F8D #8D1F6E #8D1F37
triadic
#8D1F6E #6E8D1F #1F6E8D
tetradic
#8D1F6E #8D751F #1F8D3E #1F378D
square
#8D1F6E #8D751F #1F8D3E #1F378D
split-complementary
#8D1F6E #378D1F #1F8D75
monochromatic
#290920 #5B1447 #8D1F6E #BF2A95 #D84EB1

Accessibility & contrast

On white

8.22
#8D1F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F6E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F6E#FFFFFF#000000##FFFFFF
##8D1F6E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#4D556C
Tritanopia (blue-blind)
#962144
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1f6e;
/* rgb */ color: rgb(141, 31, 110);
/* oklch */ color: oklch(44.9% 0.166 342.0);
Tailwind
colors: {
  custom: {
    50: '#b26797',
    500: '#8d1f6e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f6e;
$custom-light: #b26797;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f6e",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 316.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44874,
    "c": 0.16592,
    "h": 342
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#8D1F6E
secondary
#4DBB6C
accent
#E77041
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D1F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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