#842E5B#842E5B

#842E5B is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.128 H 351.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#842E5B
RGBrgb(132, 46, 91)
HSLhsl(329, 48%, 35%)
HSVhsv(329, 65%, 52%)
CMYKcmyk(0%, 65.2%, 31.1%, 48.2%)
CIE-LABlab(33.17, 41.52, -7.56)
CIE-LCHlch(33.17, 42.21, 349.69°)
OKLaboklab(44.07% 0.1263 -0.0196)
OKLCHoklch(44.07% 0.128 351.2)
XYZxyz(12.3816, 7.6161, 10.7135)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E5B #2E8457
analogous
#822E84 #842E5B #842E30
triadic
#842E5B #5B842E #2E5B84
tetradic
#842E5B #84822E #2E8457 #2E3084
square
#842E5B #84822E #2E8457 #2E3084
split-complementary
#842E5B #30842E #2E8482
monochromatic
#290E1C #571E3C #842E5B #B13E7A #C96499

Accessibility & contrast

On white

8.32
#842E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#842E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E5B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E5B#FFFFFF#000000##FFFFFF
##842E5B1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#525459
Tritanopia (blue-blind)
#8E2A40
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e5b;
/* rgb */ color: rgb(132, 46, 91);
/* oklch */ color: oklch(44.1% 0.128 351.2);
Tailwind
colors: {
  custom: {
    50: '#ab6c89',
    500: '#842e5b',
    950: '#000000',
  },
}
SCSS
$custom: #842e5b;
$custom-light: #ab6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#842e5b",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 328.605,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44067,
    "c": 0.12781,
    "h": 351.2
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#842E5B
secondary
#5EB085
accent
#D89150
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #842E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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