#842571#842571

#842571 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.155 H 337.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#842571
RGBrgb(132, 37, 113)
HSLhsl(312, 56%, 33%)
HSVhsv(312, 72%, 52%)
CMYKcmyk(0%, 72%, 14.4%, 48.2%)
CIE-LABlab(32.75, 48.53, -22.27)
CIE-LCHlch(32.75, 53.40, 335.35°)
OKLaboklab(44.07% 0.1428 -0.0605)
OKLCHoklch(44.07% 0.155 337)
XYZxyz(13.1581, 7.4221, 16.3592)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842571 #258438
analogous
#672584 #842571 #842541
triadic
#842571 #718425 #257184
tetradic
#842571 #846725 #258438 #254184
square
#842571 #846725 #258438 #254184
split-complementary
#842571 #418425 #258467
monochromatic
#240A1F #541848 #842571 #B4329A #CF54B7

Accessibility & contrast

On white

8.45
#842571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#842571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842571
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842571#FFFFFF#000000##FFFFFF
##8425711.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8B2A48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842571;
/* rgb */ color: rgb(132, 37, 113);
/* oklch */ color: oklch(44.1% 0.155 337.0);
Tailwind
colors: {
  custom: {
    50: '#ab699a',
    500: '#842571',
    950: '#000000',
  },
}
SCSS
$custom: #842571;
$custom-light: #ab699a;
$custom-dark: #000000;
JSON
{
  "hex": "#842571",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 312,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.15507,
    "h": 337
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#842571
secondary
#51B365
accent
#E06748
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842571

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

Preview Lab → · Contrast checker → · Palette generator →

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