#842556#842556

#842556 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.138 H 352.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#842556
RGBrgb(132, 37, 86)
HSLhsl(329, 56%, 33%)
HSVhsv(329, 72%, 52%)
CMYKcmyk(0%, 72%, 34.8%, 48.2%)
CIE-LABlab(31.58, 44.74, -6.70)
CIE-LCHlch(31.58, 45.24, 351.49°)
OKLaboklab(42.84% 0.1368 -0.0172)
OKLCHoklch(42.84% 0.138 352.8)
XYZxyz(11.8577, 6.9019, 9.5100)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842556 #258453
analogous
#822584 #842556 #842526
triadic
#842556 #568425 #255684
tetradic
#842556 #848225 #258453 #252684
square
#842556 #848225 #258453 #252684
split-complementary
#842556 #268425 #258482
monochromatic
#240A18 #541837 #842556 #B43275 #CF5494

Accessibility & contrast

On white

8.82
#842556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#842556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842556
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842556#FFFFFF#000000##FFFFFF
##8425561.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F57
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#8E1E3A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842556;
/* rgb */ color: rgb(132, 37, 86);
/* oklch */ color: oklch(42.8% 0.138 352.8);
Tailwind
colors: {
  custom: {
    50: '#ac6885',
    500: '#842556',
    950: '#000000',
  },
}
SCSS
$custom: #842556;
$custom-light: #ac6885;
$custom-dark: #000000;
JSON
{
  "hex": "#842556",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 86
  },
  "hsl": {
    "h": 329.053,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.13792,
    "h": 352.8
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#842556
secondary
#51B381
accent
#E09248
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #842556

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

Preview Lab → · Contrast checker → · Palette generator →

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