#842E6E#842E6E

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

Color values

HEX#842E6E
RGBrgb(132, 46, 110)
HSLhsl(315, 48%, 35%)
HSVhsv(315, 65%, 52%)
CMYKcmyk(0%, 65.2%, 16.7%, 48.2%)
CIE-LABlab(33.95, 44.31, -18.50)
CIE-LCHlch(33.95, 48.02, 337.34°)
OKLaboklab(44.9% 0.1311 -0.0499)
OKLCHoklch(44.9% 0.14 339.2)
XYZxyz(13.3074, 7.9865, 15.5895)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E6E #2E8444
analogous
#6F2E84 #842E6E #842E43
triadic
#842E6E #6E842E #2E6E84
tetradic
#842E6E #846F2E #2E8444 #2E4384
square
#842E6E #846F2E #2E8444 #2E4384
split-complementary
#842E6E #43842E #2E846F
monochromatic
#290E22 #571E48 #842E6E #B13E94 #C964AF

Accessibility & contrast

On white

8.09
#842E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#842E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E6E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E6E#FFFFFF#000000##FFFFFF
##842E6E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#8B3149
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842e6e;
/* rgb */ color: rgb(132, 46, 110);
/* oklch */ color: oklch(44.9% 0.140 339.2);
Tailwind
colors: {
  custom: {
    50: '#ab6d97',
    500: '#842e6e',
    950: '#000000',
  },
}
SCSS
$custom: #842e6e;
$custom-light: #ab6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#842e6e",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 315.349,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.14026,
    "h": 339.2
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#842E6E
secondary
#5EB073
accent
#D87350
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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