#841D71#841D71

#841D71 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.165 H 336.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#841D71
RGBrgb(132, 29, 113)
HSLhsl(311, 64%, 32%)
HSVhsv(311, 78%, 52%)
CMYKcmyk(0%, 78%, 14.4%, 48.2%)
CIE-LABlab(31.76, 51.35, -23.82)
CIE-LCHlch(31.76, 56.60, 335.11°)
OKLaboklab(43.35% 0.1512 -0.0649)
OKLCHoklch(43.35% 0.165 336.8)
XYZxyz(12.9360, 6.9777, 16.2851)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D71 #1D8430
analogous
#641D84 #841D71 #841D3E
triadic
#841D71 #71841D #1D7184
tetradic
#841D71 #84641D #1D8430 #1D3E84
square
#841D71 #84641D #1D8430 #1D3E84
split-complementary
#841D71 #3E841D #1D8464
monochromatic
#20071B #521246 #841D71 #B6289C #D645BB

Accessibility & contrast

On white

8.77
#841D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#841D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D71
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D71#FFFFFF#000000##FFFFFF
##841D711.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#8B2445
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841d71;
/* rgb */ color: rgb(132, 29, 113);
/* oklch */ color: oklch(43.4% 0.165 336.8);
Tailwind
colors: {
  custom: {
    50: '#ab659a',
    500: '#841d71',
    950: '#000000',
  },
}
SCSS
$custom: #841d71;
$custom-light: #ab659a;
$custom-dark: #000000;
JSON
{
  "hex": "#841d71",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 311.068,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.16452,
    "h": 336.8
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#841D71
secondary
#46B75B
accent
#E75F41
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841D71

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

Preview Lab → · Contrast checker → · Palette generator →

#841D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva