#841C72#841C72

#841C72 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.166 H 336.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#841C72
RGBrgb(132, 28, 114)
HSLhsl(310, 65%, 31%)
HSVhsv(310, 79%, 52%)
CMYKcmyk(0%, 78.8%, 13.6%, 48.2%)
CIE-LABlab(31.70, 51.81, -24.55)
CIE-LCHlch(31.70, 57.34, 334.65°)
OKLaboklab(43.33% 0.1522 -0.067)
OKLCHoklch(43.33% 0.166 336.3)
XYZxyz(12.9685, 6.9522, 16.5752)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C72 #1C842E
analogous
#621C84 #841C72 #841C3E
triadic
#841C72 #72841C #1C7284
tetradic
#841C72 #84621C #1C842E #1C3E84
square
#841C72 #84621C #1C842E #1C3E84
split-complementary
#841C72 #3E841C #1C8462
monochromatic
#1F071B #521146 #841C72 #B6279E #D743BE

Accessibility & contrast

On white

8.79
#841C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#841C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C72
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C72#FFFFFF#000000##FFFFFF
##841C721.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#8B2445
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #841c72;
/* rgb */ color: rgb(132, 28, 114);
/* oklch */ color: oklch(43.3% 0.166 336.3);
Tailwind
colors: {
  custom: {
    50: '#ab659b',
    500: '#841c72',
    950: '#000000',
  },
}
SCSS
$custom: #841c72;
$custom-light: #ab659b;
$custom-dark: #000000;
JSON
{
  "hex": "#841c72",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 310.385,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43327,
    "c": 0.16629,
    "h": 336.3
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#841C72
secondary
#45B758
accent
#E85D40
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841C72

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

Preview Lab → · Contrast checker → · Palette generator →

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