#842E5C#842E5C

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

Color values

HEX#842E5C
RGBrgb(132, 46, 92)
HSLhsl(328, 48%, 35%)
HSVhsv(328, 65%, 52%)
CMYKcmyk(0%, 65.2%, 30.3%, 48.2%)
CIE-LABlab(33.21, 41.66, -8.14)
CIE-LCHlch(33.21, 42.45, 348.94°)
OKLaboklab(44.11% 0.1266 -0.0212)
OKLCHoklch(44.11% 0.128 350.5)
XYZxyz(12.4250, 7.6335, 10.9422)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E5C #2E8456
analogous
#812E84 #842E5C #842E31
triadic
#842E5C #5C842E #2E5C84
tetradic
#842E5C #84812E #2E8456 #2E3184
square
#842E5C #84812E #2E8456 #2E3184
split-complementary
#842E5C #31842E #2E8481
monochromatic
#290E1D #571E3C #842E5C #B13E7C #C9649A

Accessibility & contrast

On white

8.31
#842E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#842E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E5C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E5C#FFFFFF#000000##FFFFFF
##842E5C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445D
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#8E2A41
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e5c;
/* rgb */ color: rgb(132, 46, 92);
/* oklch */ color: oklch(44.1% 0.128 350.5);
Tailwind
colors: {
  custom: {
    50: '#ab6c8a',
    500: '#842e5c',
    950: '#000000',
  },
}
SCSS
$custom: #842e5c;
$custom-light: #ab6c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#842e5c",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 327.907,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.12836,
    "h": 350.5
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#842E5C
secondary
#5EB084
accent
#D88F50
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #842E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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