#841A71#841A71

#841A71 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.1% C 0.168 H 336.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#841A71
RGBrgb(132, 26, 113)
HSLhsl(311, 67%, 31%)
HSVhsv(311, 80%, 52%)
CMYKcmyk(0%, 80.3%, 14.4%, 48.2%)
CIE-LABlab(31.43, 52.27, -24.33)
CIE-LCHlch(31.43, 57.65, 335.04°)
OKLaboklab(43.12% 0.1539 -0.0663)
OKLCHoklch(43.12% 0.168 336.7)
XYZxyz(12.8660, 6.8378, 16.2618)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A71 #1A842D
analogous
#621A84 #841A71 #841A3C
triadic
#841A71 #71841A #1A7184
tetradic
#841A71 #84621A #1A842D #1A3C84
square
#841A71 #84621A #1A842D #1A3C84
split-complementary
#841A71 #3C841A #1A8462
monochromatic
#1E0619 #511045 #841A71 #B7249D #D93FBE

Accessibility & contrast

On white

8.87
#841A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#841A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A71
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A71#FFFFFF#000000##FFFFFF
##841A711.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#8B2244
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841a71;
/* rgb */ color: rgb(132, 26, 113);
/* oklch */ color: oklch(43.1% 0.168 336.7);
Tailwind
colors: {
  custom: {
    50: '#ab649a',
    500: '#841a71',
    950: '#000000',
  },
}
SCSS
$custom: #841a71;
$custom-light: #ab649a;
$custom-dark: #000000;
JSON
{
  "hex": "#841a71",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 310.755,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.16761,
    "h": 336.7
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#841A71
secondary
#42B857
accent
#EA5D3E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841A71

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

Preview Lab → · Contrast checker → · Palette generator →

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