#8D1F66#8D1F66

#8D1F66 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.161 H 346.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8D1F66
RGBrgb(141, 31, 102)
HSLhsl(321, 64%, 34%)
HSVhsv(321, 78%, 55%)
CMYKcmyk(0%, 78%, 27.7%, 44.7%)
CIE-LABlab(33.14, 51.44, -14.52)
CIE-LCHlch(33.14, 53.45, 344.24°)
OKLaboklab(44.5% 0.1563 -0.0385)
OKLCHoklch(44.5% 0.161 346.2)
XYZxyz(13.8734, 7.6035, 13.3048)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F66 #1F8D46
analogous
#7D1F8D #8D1F66 #8D1F2F
triadic
#8D1F66 #668D1F #1F668D
tetradic
#8D1F66 #8D7D1F #1F8D46 #1F2F8D
square
#8D1F66 #8D7D1F #1F8D46 #1F2F8D
split-complementary
#8D1F66 #2F8D1F #1F8D7D
monochromatic
#29091D #5B1442 #8D1F66 #BF2A8A #D84EA7

Accessibility & contrast

On white

8.33
#8D1F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8D1F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F66
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F66#FFFFFF#000000##FFFFFF
##8D1F661.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4268
Deuteranopia (green-blind)
#505564
Tritanopia (blue-blind)
#971C40
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1f66;
/* rgb */ color: rgb(141, 31, 102);
/* oklch */ color: oklch(44.5% 0.161 346.2);
Tailwind
colors: {
  custom: {
    50: '#b26791',
    500: '#8d1f66',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f66;
$custom-light: #b26791;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f66",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 321.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.445,
    "c": 0.16097,
    "h": 346.2
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#8D1F66
secondary
#4DBB74
accent
#E77C41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #8D1F66

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

Preview Lab → · Contrast checker → · Palette generator →

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