#842E58#842E58

#842E58 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.0% C 0.126 H 353.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#842E58
RGBrgb(132, 46, 88)
HSLhsl(331, 48%, 35%)
HSVhsv(331, 65%, 52%)
CMYKcmyk(0%, 65.2%, 33.3%, 48.2%)
CIE-LABlab(33.06, 41.13, -5.78)
CIE-LCHlch(33.06, 41.53, 351.99°)
OKLaboklab(43.95% 0.1254 -0.0148)
OKLCHoklch(43.95% 0.126 353.3)
XYZxyz(12.2548, 7.5654, 10.0455)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E58 #2E845A
analogous
#842E83 #842E58 #842F2E
triadic
#842E58 #58842E #2E5884
tetradic
#842E58 #83842E #2E845A #2F2E84
square
#842E58 #83842E #2E845A #2F2E84
split-complementary
#842E58 #2E842F #2E8384
monochromatic
#290E1B #571E3A #842E58 #B13E76 #C96495

Accessibility & contrast

On white

8.36
#842E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#842E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E58
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E58#FFFFFF#000000##FFFFFF
##842E581.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#535456
Tritanopia (blue-blind)
#8E293F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e58;
/* rgb */ color: rgb(132, 46, 88);
/* oklch */ color: oklch(44.0% 0.126 353.3);
Tailwind
colors: {
  custom: {
    50: '#ab6c87',
    500: '#842e58',
    950: '#000000',
  },
}
SCSS
$custom: #842e58;
$custom-light: #ab6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#842e58",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 330.698,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.12623,
    "h": 353.3
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#842E58
secondary
#5EB088
accent
#D89550
background
#FAF6F8
surface
#F5ECEF
border
#CFC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #842E58

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

Preview Lab → · Contrast checker → · Palette generator →

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