#842E6A#842E6A

#842E6A is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.137 H 341.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#842E6A
RGBrgb(132, 46, 106)
HSLhsl(318, 48%, 35%)
HSVhsv(318, 65%, 52%)
CMYKcmyk(0%, 65.2%, 19.7%, 48.2%)
CIE-LABlab(33.78, 43.68, -16.24)
CIE-LCHlch(33.78, 46.60, 339.61°)
OKLaboklab(44.71% 0.1303 -0.0435)
OKLCHoklch(44.71% 0.137 341.5)
XYZxyz(13.0946, 7.9013, 14.4683)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E6A #2E8448
analogous
#732E84 #842E6A #842E3F
triadic
#842E6A #6A842E #2E6A84
tetradic
#842E6A #84732E #2E8448 #2E3F84
square
#842E6A #84732E #2E8448 #2E3F84
split-complementary
#842E6A #3F842E #2E8473
monochromatic
#290E21 #571E46 #842E6A #B13E8E #C964AA

Accessibility & contrast

On white

8.14
#842E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#842E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E6A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E6A#FFFFFF#000000##FFFFFF
##842E6A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476C
Deuteranopia (green-blind)
#4E5568
Tritanopia (blue-blind)
#8C2F47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842e6a;
/* rgb */ color: rgb(132, 46, 106);
/* oklch */ color: oklch(44.7% 0.137 341.5);
Tailwind
colors: {
  custom: {
    50: '#ab6d94',
    500: '#842e6a',
    950: '#000000',
  },
}
SCSS
$custom: #842e6a;
$custom-light: #ab6d94;
$custom-dark: #000000;
JSON
{
  "hex": "#842e6a",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 318.14,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.13733,
    "h": 341.5
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#842E6A
secondary
#5EB077
accent
#D87950
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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