#842E56#842E56

#842E56 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.125 H 354.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#842E56
RGBrgb(132, 46, 86)
HSLhsl(332, 48%, 35%)
HSVhsv(332, 65%, 52%)
CMYKcmyk(0%, 65.2%, 34.8%, 48.2%)
CIE-LABlab(32.99, 40.87, -4.60)
CIE-LCHlch(32.99, 41.13, 353.58°)
OKLaboklab(43.88% 0.1247 -0.0116)
OKLCHoklch(43.88% 0.125 354.7)
XYZxyz(12.1731, 7.5327, 9.6152)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E56 #2E845C
analogous
#842E81 #842E56 #84312E
triadic
#842E56 #56842E #2E5684
tetradic
#842E56 #81842E #2E845C #312E84
square
#842E56 #81842E #2E845C #312E84
split-complementary
#842E56 #2E8431 #2E8184
monochromatic
#290E1B #571E38 #842E56 #B13E74 #C96493

Accessibility & contrast

On white

8.38
#842E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#842E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E56
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E56#FFFFFF#000000##FFFFFF
##842E561.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#535354
Tritanopia (blue-blind)
#8E283E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e56;
/* rgb */ color: rgb(132, 46, 86);
/* oklch */ color: oklch(43.9% 0.125 354.7);
Tailwind
colors: {
  custom: {
    50: '#ab6c85',
    500: '#842e56',
    950: '#000000',
  },
}
SCSS
$custom: #842e56;
$custom-light: #ab6c85;
$custom-dark: #000000;
JSON
{
  "hex": "#842e56",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 332.093,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.12525,
    "h": 354.7
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#842E56
secondary
#5EB08A
accent
#D89950
background
#FAF6F8
surface
#F5ECEF
border
#CFC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #842E56

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

Preview Lab → · Contrast checker → · Palette generator →

#842E56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva