#841B71#841B71

#841B71 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.167 H 336.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#841B71
RGBrgb(132, 27, 113)
HSLhsl(311, 66%, 31%)
HSVhsv(311, 80%, 52%)
CMYKcmyk(0%, 79.5%, 14.4%, 48.2%)
CIE-LABlab(31.54, 51.97, -24.17)
CIE-LCHlch(31.54, 57.31, 335.06°)
OKLaboklab(43.2% 0.153 -0.0659)
OKLCHoklch(43.2% 0.167 336.7)
XYZxyz(12.8885, 6.8829, 16.2693)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B71 #1B842E
analogous
#621B84 #841B71 #841B3C
triadic
#841B71 #71841B #1B7184
tetradic
#841B71 #84621B #1B842E #1B3C84
square
#841B71 #84621B #1B842E #1B3C84
split-complementary
#841B71 #3C841B #1B8462
monochromatic
#1E061A #511146 #841B71 #B7259C #D841BD

Accessibility & contrast

On white

8.84
#841B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#841B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B71
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B71#FFFFFF#000000##FFFFFF
##841B711.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841b71;
/* rgb */ color: rgb(132, 27, 113);
/* oklch */ color: oklch(43.2% 0.167 336.7);
Tailwind
colors: {
  custom: {
    50: '#ab649a',
    500: '#841b71',
    950: '#000000',
  },
}
SCSS
$custom: #841b71;
$custom-light: #ab649a;
$custom-dark: #000000;
JSON
{
  "hex": "#841b71",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 310.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.16661,
    "h": 336.7
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#841B71
secondary
#43B758
accent
#E95E3F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841B71

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

Preview Lab → · Contrast checker → · Palette generator →

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