#841771#841771

#841771 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.9% C 0.170 H 336.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#841771
RGBrgb(132, 23, 113)
HSLhsl(310, 70%, 30%)
HSVhsv(310, 83%, 52%)
CMYKcmyk(0%, 82.6%, 14.4%, 48.2%)
CIE-LABlab(31.14, 53.11, -24.79)
CIE-LCHlch(31.14, 58.61, 334.98°)
OKLaboklab(42.91% 0.1565 -0.0676)
OKLCHoklch(42.91% 0.17 336.6)
XYZxyz(12.8030, 6.7118, 16.2408)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841771 #17842A
analogous
#611784 #841771 #84173A
triadic
#841771 #718417 #177184
tetradic
#841771 #846117 #17842A #173A84
square
#841771 #846117 #17842A #173A84
split-complementary
#841771 #3A8417 #178461
monochromatic
#1C0518 #500E44 #841771 #B8209E #DC39C0

Accessibility & contrast

On white

8.97
#841771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#841771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841771
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841771#FFFFFF#000000##FFFFFF
##8417711.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#8B2044
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #841771;
/* rgb */ color: rgb(132, 23, 113);
/* oklch */ color: oklch(42.9% 0.170 336.6);
Tailwind
colors: {
  custom: {
    50: '#ab639a',
    500: '#841771',
    950: '#000000',
  },
}
SCSS
$custom: #841771;
$custom-light: #ab639a;
$custom-dark: #000000;
JSON
{
  "hex": "#841771",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 310.459,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.17044,
    "h": 336.6
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#841771
secondary
#3FB854
accent
#ED5A3B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841771

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

Preview Lab → · Contrast checker → · Palette generator →

#841771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva