#842E6D#842E6D

#842E6D is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.140 H 339.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#842E6D
RGBrgb(132, 46, 109)
HSLhsl(316, 48%, 35%)
HSVhsv(316, 65%, 52%)
CMYKcmyk(0%, 65.2%, 17.4%, 48.2%)
CIE-LABlab(33.91, 44.15, -17.94)
CIE-LCHlch(33.91, 47.66, 337.89°)
OKLaboklab(44.85% 0.1309 -0.0483)
OKLCHoklch(44.85% 0.14 339.7)
XYZxyz(13.2533, 7.9648, 15.3044)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E6D #2E8445
analogous
#702E84 #842E6D #842E42
triadic
#842E6D #6D842E #2E6D84
tetradic
#842E6D #84702E #2E8445 #2E4284
square
#842E6D #84702E #2E8445 #2E4284
split-complementary
#842E6D #42842E #2E8470
monochromatic
#290E22 #571E48 #842E6D #B13E92 #C964AE

Accessibility & contrast

On white

8.10
#842E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#842E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E6D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E6D#FFFFFF#000000##FFFFFF
##842E6D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#8C3049
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842e6d;
/* rgb */ color: rgb(132, 46, 109);
/* oklch */ color: oklch(44.9% 0.140 339.7);
Tailwind
colors: {
  custom: {
    50: '#ab6d97',
    500: '#842e6d',
    950: '#000000',
  },
}
SCSS
$custom: #842e6d;
$custom-light: #ab6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#842e6d",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 316.047,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.13951,
    "h": 339.7
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#842E6D
secondary
#5EB074
accent
#D87450
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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