#842056#842056

#842056 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.144 H 352.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#842056
RGBrgb(132, 32, 86)
HSLhsl(328, 61%, 32%)
HSVhsv(328, 76%, 52%)
CMYKcmyk(0%, 75.8%, 34.8%, 48.2%)
CIE-LABlab(30.91, 46.63, -7.71)
CIE-LCHlch(30.91, 47.27, 350.61°)
OKLaboklab(42.34% 0.1428 -0.0199)
OKLCHoklch(42.34% 0.144 352.1)
XYZxyz(11.7126, 6.6118, 9.4617)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842056 #20844E
analogous
#802084 #842056 #842024
triadic
#842056 #568420 #205684
tetradic
#842056 #848020 #20844E #202484
square
#842056 #848020 #20844E #202484
split-complementary
#842056 #248420 #208480
monochromatic
#210816 #531436 #842056 #B52C76 #D34B95

Accessibility & contrast

On white

9.04
#842056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#842056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842056
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842056#FFFFFF#000000##FFFFFF
##8420561.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#4E4F54
Tritanopia (blue-blind)
#8E1838
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842056;
/* rgb */ color: rgb(132, 32, 86);
/* oklch */ color: oklch(42.3% 0.144 352.1);
Tailwind
colors: {
  custom: {
    50: '#ac6585',
    500: '#842056',
    950: '#000000',
  },
}
SCSS
$custom: #842056;
$custom-light: #ac6585;
$custom-dark: #000000;
JSON
{
  "hex": "#842056",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 327.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.14417,
    "h": 352.1
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#842056
secondary
#4AB67C
accent
#E48D44
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #842056

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

Preview Lab → · Contrast checker → · Palette generator →

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