#841B6F#841B6F

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

Color values

HEX#841B6F
RGBrgb(132, 27, 111)
HSLhsl(312, 66%, 31%)
HSVhsv(312, 80%, 52%)
CMYKcmyk(0%, 79.5%, 15.9%, 48.2%)
CIE-LABlab(31.44, 51.67, -23.05)
CIE-LCHlch(31.44, 56.58, 335.96°)
OKLaboklab(43.09% 0.1529 -0.0627)
OKLCHoklch(43.09% 0.165 337.7)
XYZxyz(12.7772, 6.8383, 15.6829)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B6F #1B8430
analogous
#641B84 #841B6F #841B3A
triadic
#841B6F #6F841B #1B6F84
tetradic
#841B6F #84641B #1B8430 #1B3A84
square
#841B6F #84641B #1B8430 #1B3A84
split-complementary
#841B6F #3A841B #1B8464
monochromatic
#1E061A #511144 #841B6F #B7259A #D841BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##841B6F#FFFFFF#000000##FFFFFF
##841B6F1.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)
#204071
Deuteranopia (green-blind)
#44506D
Tritanopia (blue-blind)
#8C2144
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841b6f;
/* rgb */ color: rgb(132, 27, 111);
/* oklch */ color: oklch(43.1% 0.165 337.7);
Tailwind
colors: {
  custom: {
    50: '#ab6498',
    500: '#841b6f',
    950: '#000000',
  },
}
SCSS
$custom: #841b6f;
$custom-light: #ab6498;
$custom-dark: #000000;
JSON
{
  "hex": "#841b6f",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 312,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.1652,
    "h": 337.7
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#841B6F
secondary
#43B75B
accent
#E9613F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #841B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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