#842E54#842E54

#842E54 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.8% C 0.124 H 356.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#842E54
RGBrgb(132, 46, 84)
HSLhsl(333, 48%, 35%)
HSVhsv(333, 65%, 52%)
CMYKcmyk(0%, 65.2%, 36.4%, 48.2%)
CIE-LABlab(32.92, 40.62, -3.40)
CIE-LCHlch(32.92, 40.76, 355.21°)
OKLaboklab(43.8% 0.124 -0.0084)
OKLCHoklch(43.8% 0.124 356.1)
XYZxyz(12.0936, 7.5009, 9.1967)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E54 #2E845E
analogous
#842E7F #842E54 #84332E
triadic
#842E54 #54842E #2E5484
tetradic
#842E54 #7F842E #2E845E #332E84
square
#842E54 #7F842E #2E845E #332E84
split-complementary
#842E54 #2E8433 #2E7F84
monochromatic
#290E1A #571E37 #842E54 #B13E71 #C96490

Accessibility & contrast

On white

8.40
#842E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#842E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E54
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E54#FFFFFF#000000##FFFFFF
##842E541.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4355
Deuteranopia (green-blind)
#545352
Tritanopia (blue-blind)
#8E273D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842e54;
/* rgb */ color: rgb(132, 46, 84);
/* oklch */ color: oklch(43.8% 0.124 356.1);
Tailwind
colors: {
  custom: {
    50: '#ab6c84',
    500: '#842e54',
    950: '#000000',
  },
}
SCSS
$custom: #842e54;
$custom-light: #ab6c84;
$custom-dark: #000000;
JSON
{
  "hex": "#842e54",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 333.488,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43801,
    "c": 0.12433,
    "h": 356.1
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#842E54
secondary
#5EB08C
accent
#D89C50
background
#FAF6F8
surface
#F5ECEF
border
#CFC7CA
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #842E54

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

Preview Lab → · Contrast checker → · Palette generator →

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