#841871#841871

#841871 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.170 H 336.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#841871
RGBrgb(132, 24, 113)
HSLhsl(311, 69%, 31%)
HSVhsv(311, 82%, 52%)
CMYKcmyk(0%, 81.8%, 14.4%, 48.2%)
CIE-LABlab(31.24, 52.84, -24.64)
CIE-LCHlch(31.24, 58.30, 335.00°)
OKLaboklab(42.98% 0.1556 -0.0672)
OKLCHoklch(42.98% 0.17 336.7)
XYZxyz(12.8232, 6.7523, 16.2476)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841871 #18842B
analogous
#611884 #841871 #84183B
triadic
#841871 #718418 #187184
tetradic
#841871 #846118 #18842B #183B84
square
#841871 #846118 #18842B #183B84
split-complementary
#841871 #3B8418 #188461
monochromatic
#1C0518 #500F45 #841871 #B8219D #DB3BBF

Accessibility & contrast

On white

8.94
#841871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#841871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841871
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841871#FFFFFF#000000##FFFFFF
##8418711.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841871;
/* rgb */ color: rgb(132, 24, 113);
/* oklch */ color: oklch(43.0% 0.170 336.7);
Tailwind
colors: {
  custom: {
    50: '#ab639a',
    500: '#841871',
    950: '#000000',
  },
}
SCSS
$custom: #841871;
$custom-light: #ab639a;
$custom-dark: #000000;
JSON
{
  "hex": "#841871",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 310.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.16952,
    "h": 336.7
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#841871
secondary
#40B855
accent
#EC5B3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841871

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

Preview Lab → · Contrast checker → · Palette generator →

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