#842E66#842E66

#842E66 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.135 H 344.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#842E66
RGBrgb(132, 46, 102)
HSLhsl(321, 48%, 35%)
HSVhsv(321, 65%, 52%)
CMYKcmyk(0%, 65.2%, 22.7%, 48.2%)
CIE-LABlab(33.61, 43.08, -13.95)
CIE-LCHlch(33.61, 45.28, 342.06°)
OKLaboklab(44.53% 0.1293 -0.0371)
OKLCHoklch(44.53% 0.135 344)
XYZxyz(12.8914, 7.8201, 13.3983)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E66 #2E844C
analogous
#772E84 #842E66 #842E3B
triadic
#842E66 #66842E #2E6684
tetradic
#842E66 #84772E #2E844C #2E3B84
square
#842E66 #84772E #2E844C #2E3B84
split-complementary
#842E66 #3B842E #2E8477
monochromatic
#290E20 #571E43 #842E66 #B13E89 #C964A6

Accessibility & contrast

On white

8.19
#842E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#842E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E66
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E66#FFFFFF#000000##FFFFFF
##842E661.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#4F5464
Tritanopia (blue-blind)
#8C2E45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842e66;
/* rgb */ color: rgb(132, 46, 102);
/* oklch */ color: oklch(44.5% 0.135 344.0);
Tailwind
colors: {
  custom: {
    50: '#ab6d91',
    500: '#842e66',
    950: '#000000',
  },
}
SCSS
$custom: #842e66;
$custom-light: #ab6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#842e66",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 320.93,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44531,
    "c": 0.13455,
    "h": 344
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#842E66
secondary
#5EB07B
accent
#D87F50
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842E66

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

Preview Lab → · Contrast checker → · Palette generator →

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