#841872#841872

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

Color values

HEX#841872
RGBrgb(132, 24, 114)
HSLhsl(310, 69%, 31%)
HSVhsv(310, 82%, 52%)
CMYKcmyk(0%, 81.8%, 13.6%, 48.2%)
CIE-LABlab(31.29, 52.99, -25.19)
CIE-LCHlch(31.29, 58.67, 334.57°)
OKLaboklab(43.03% 0.1557 -0.0688)
OKLCHoklch(43.03% 0.17 336.2)
XYZxyz(12.8798, 6.7749, 16.5457)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841872 #18842A
analogous
#601884 #841872 #84183C
triadic
#841872 #728418 #187284
tetradic
#841872 #846018 #18842A #183C84
square
#841872 #846018 #18842A #183C84
split-complementary
#841872 #3C8418 #188460
monochromatic
#1C0519 #500F45 #841872 #B8219F #DB3BC1

Accessibility & contrast

On white

8.92
#841872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841872
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841872#FFFFFF#000000##FFFFFF
##8418721.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#8B2144
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841872;
/* rgb */ color: rgb(132, 24, 114);
/* oklch */ color: oklch(43.0% 0.170 336.2);
Tailwind
colors: {
  custom: {
    50: '#ab639b',
    500: '#841872',
    950: '#000000',
  },
}
SCSS
$custom: #841872;
$custom-light: #ab639b;
$custom-dark: #000000;
JSON
{
  "hex": "#841872",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 310,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.17023,
    "h": 336.2
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#841872
secondary
#40B854
accent
#EC593C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841872

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

Preview Lab → · Contrast checker → · Palette generator →

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