#842E62#842E62

#842E62 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.132 H 346.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#842E62
RGBrgb(132, 46, 98)
HSLhsl(324, 48%, 35%)
HSVhsv(324, 65%, 52%)
CMYKcmyk(0%, 65.2%, 25.8%, 48.2%)
CIE-LABlab(33.44, 42.50, -11.64)
CIE-LCHlch(33.44, 44.06, 344.68°)
OKLaboklab(44.36% 0.1283 -0.0307)
OKLCHoklch(44.36% 0.132 346.5)
XYZxyz(12.6978, 7.7426, 12.3787)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E62 #2E8450
analogous
#7B2E84 #842E62 #842E37
triadic
#842E62 #62842E #2E6284
tetradic
#842E62 #847B2E #2E8450 #2E3784
square
#842E62 #847B2E #2E8450 #2E3784
split-complementary
#842E62 #37842E #2E847B
monochromatic
#290E1F #571E40 #842E62 #B13E84 #C964A1

Accessibility & contrast

On white

8.24
#842E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#842E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E62
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E62#FFFFFF#000000##FFFFFF
##842E621.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384564
Deuteranopia (green-blind)
#505460
Tritanopia (blue-blind)
#8D2C44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842e62;
/* rgb */ color: rgb(132, 46, 98);
/* oklch */ color: oklch(44.4% 0.132 346.5);
Tailwind
colors: {
  custom: {
    50: '#ab6c8e',
    500: '#842e62',
    950: '#000000',
  },
}
SCSS
$custom: #842e62;
$custom-light: #ab6c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#842e62",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 323.721,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44356,
    "c": 0.13193,
    "h": 346.5
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#842E62
secondary
#5EB07E
accent
#D88650
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842E62

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

Preview Lab → · Contrast checker → · Palette generator →

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