#842071#842071

#842071 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.161 H 336.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#842071
RGBrgb(132, 32, 113)
HSLhsl(311, 61%, 32%)
HSVhsv(311, 76%, 52%)
CMYKcmyk(0%, 75.8%, 14.4%, 48.2%)
CIE-LABlab(32.11, 50.35, -23.28)
CIE-LCHlch(32.11, 55.47, 335.19°)
OKLaboklab(43.6% 0.1482 -0.0633)
OKLCHoklch(43.6% 0.161 336.9)
XYZxyz(13.0131, 7.1320, 16.3108)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842071 #208433
analogous
#652084 #842071 #84203F
triadic
#842071 #718420 #207184
tetradic
#842071 #846520 #208433 #203F84
square
#842071 #846520 #208433 #203F84
split-complementary
#842071 #3F8420 #208465
monochromatic
#21081D #531447 #842071 #B52C9B #D34BB9

Accessibility & contrast

On white

8.66
#842071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#842071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842071
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842071#FFFFFF#000000##FFFFFF
##8420711.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#8B2646
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842071;
/* rgb */ color: rgb(132, 32, 113);
/* oklch */ color: oklch(43.6% 0.161 336.9);
Tailwind
colors: {
  custom: {
    50: '#ab669a',
    500: '#842071',
    950: '#000000',
  },
}
SCSS
$custom: #842071;
$custom-light: #ab669a;
$custom-dark: #000000;
JSON
{
  "hex": "#842071",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 311.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43604,
    "c": 0.16118,
    "h": 336.9
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#842071
secondary
#4AB65E
accent
#E46244
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #842071

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

Preview Lab → · Contrast checker → · Palette generator →

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