#841B72#841B72

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

Color values

HEX#841B72
RGBrgb(132, 27, 114)
HSLhsl(310, 66%, 31%)
HSVhsv(310, 80%, 52%)
CMYKcmyk(0%, 79.5%, 13.6%, 48.2%)
CIE-LABlab(31.59, 52.12, -24.72)
CIE-LCHlch(31.59, 57.68, 334.63°)
OKLaboklab(43.25% 0.1531 -0.0674)
OKLCHoklch(43.25% 0.167 336.2)
XYZxyz(12.9451, 6.9055, 16.5675)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B72 #1B842D
analogous
#611B84 #841B72 #841B3D
triadic
#841B72 #72841B #1B7284
tetradic
#841B72 #84611B #1B842D #1B3D84
square
#841B72 #84611B #1B842D #1B3D84
split-complementary
#841B72 #3D841B #1B8461
monochromatic
#1E061A #511146 #841B72 #B7259E #D841BE

Accessibility & contrast

On white

8.82
#841B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841B72
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B72#FFFFFF#000000##FFFFFF
##841B721.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#8B2345
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841b72;
/* rgb */ color: rgb(132, 27, 114);
/* oklch */ color: oklch(43.3% 0.167 336.2);
Tailwind
colors: {
  custom: {
    50: '#ab649b',
    500: '#841b72',
    950: '#000000',
  },
}
SCSS
$custom: #841b72;
$custom-light: #ab649b;
$custom-dark: #000000;
JSON
{
  "hex": "#841b72",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 310.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.16732,
    "h": 336.2
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#841B72
secondary
#43B757
accent
#E95C3F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841B72

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

Preview Lab → · Contrast checker → · Palette generator →

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