#842E68#842E68

#842E68 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.136 H 342.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#842E68
RGBrgb(132, 46, 104)
HSLhsl(320, 48%, 35%)
HSVhsv(320, 65%, 52%)
CMYKcmyk(0%, 65.2%, 21.2%, 48.2%)
CIE-LABlab(33.69, 43.38, -15.10)
CIE-LCHlch(33.69, 45.93, 340.81°)
OKLaboklab(44.62% 0.1298 -0.0403)
OKLCHoklch(44.62% 0.136 342.7)
XYZxyz(12.9918, 7.8602, 13.9270)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E68 #2E844A
analogous
#752E84 #842E68 #842E3D
triadic
#842E68 #68842E #2E6884
tetradic
#842E68 #84752E #2E844A #2E3D84
square
#842E68 #84752E #2E844A #2E3D84
split-complementary
#842E68 #3D842E #2E8475
monochromatic
#290E20 #571E44 #842E68 #B13E8C #C964A8

Accessibility & contrast

On white

8.17
#842E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#842E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E68
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E68#FFFFFF#000000##FFFFFF
##842E681.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35466A
Deuteranopia (green-blind)
#4E5466
Tritanopia (blue-blind)
#8C2E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842e68;
/* rgb */ color: rgb(132, 46, 104);
/* oklch */ color: oklch(44.6% 0.136 342.7);
Tailwind
colors: {
  custom: {
    50: '#ab6d93',
    500: '#842e68',
    950: '#000000',
  },
}
SCSS
$custom: #842e68;
$custom-light: #ab6d93;
$custom-dark: #000000;
JSON
{
  "hex": "#842e68",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 319.535,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.13592,
    "h": 342.7
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#842E68
secondary
#5EB079
accent
#D87C50
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842E68

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

Preview Lab → · Contrast checker → · Palette generator →

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