#842159#842159

#842159 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.145 H 350.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#842159
RGBrgb(132, 33, 89)
HSLhsl(326, 60%, 32%)
HSVhsv(326, 75%, 52%)
CMYKcmyk(0%, 75%, 32.6%, 48.2%)
CIE-LABlab(31.15, 46.64, -9.30)
CIE-LCHlch(31.15, 47.56, 348.72°)
OKLaboklab(42.56% 0.1425 -0.0242)
OKLCHoklch(42.56% 0.145 350.4)
XYZxyz(11.8634, 6.7159, 10.1208)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842159 #21844C
analogous
#7E2184 #842159 #842127
triadic
#842159 #598421 #215984
tetradic
#842159 #847E21 #21844C #212784
square
#842159 #847E21 #21844C #212784
split-complementary
#842159 #278421 #21847E
monochromatic
#220917 #531538 #842159 #B52D7A #D24D98

Accessibility & contrast

On white

8.96
#842159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#842159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842159
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842159#FFFFFF#000000##FFFFFF
##8421591.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5B
Deuteranopia (green-blind)
#4D5057
Tritanopia (blue-blind)
#8E1B3A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842159;
/* rgb */ color: rgb(132, 33, 89);
/* oklch */ color: oklch(42.6% 0.145 350.4);
Tailwind
colors: {
  custom: {
    50: '#ac6688',
    500: '#842159',
    950: '#000000',
  },
}
SCSS
$custom: #842159;
$custom-light: #ac6688;
$custom-dark: #000000;
JSON
{
  "hex": "#842159",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 326.061,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42558,
    "c": 0.14454,
    "h": 350.4
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#842159
secondary
#4BB679
accent
#E38945
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #842159

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

Preview Lab → · Contrast checker → · Palette generator →

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