#841F71#841F71

#841F71 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.162 H 336.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#841F71
RGBrgb(132, 31, 113)
HSLhsl(311, 62%, 32%)
HSVhsv(311, 77%, 52%)
CMYKcmyk(0%, 76.5%, 14.4%, 48.2%)
CIE-LABlab(31.99, 50.69, -23.47)
CIE-LCHlch(31.99, 55.86, 335.16°)
OKLaboklab(43.52% 0.1492 -0.0639)
OKLCHoklch(43.52% 0.162 336.8)
XYZxyz(12.9866, 7.0790, 16.3020)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F71 #1F8432
analogous
#651F84 #841F71 #841F3F
triadic
#841F71 #71841F #1F7184
tetradic
#841F71 #84651F #1F8432 #1F3F84
square
#841F71 #84651F #1F8432 #1F3F84
split-complementary
#841F71 #3F841F #1F8465
monochromatic
#21081C #521347 #841F71 #B62B9B #D449BA

Accessibility & contrast

On white

8.69
#841F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#841F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F71
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F71#FFFFFF#000000##FFFFFF
##841F711.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#8B2646
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841f71;
/* rgb */ color: rgb(132, 31, 113);
/* oklch */ color: oklch(43.5% 0.162 336.8);
Tailwind
colors: {
  custom: {
    50: '#ab669a',
    500: '#841f71',
    950: '#000000',
  },
}
SCSS
$custom: #841f71;
$custom-light: #ab669a;
$custom-dark: #000000;
JSON
{
  "hex": "#841f71",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 311.287,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.16232,
    "h": 336.8
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#841F71
secondary
#48B75D
accent
#E56143
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #841F71

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

Preview Lab → · Contrast checker → · Palette generator →

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