#842E63#842E63

#842E63 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.133 H 345.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#842E63
RGBrgb(132, 46, 99)
HSLhsl(323, 48%, 35%)
HSVhsv(323, 65%, 52%)
CMYKcmyk(0%, 65.2%, 25%, 48.2%)
CIE-LABlab(33.48, 42.64, -12.22)
CIE-LCHlch(33.48, 44.36, 344.00°)
OKLaboklab(44.4% 0.1286 -0.0323)
OKLCHoklch(44.4% 0.133 345.9)
XYZxyz(12.7453, 7.7616, 12.6289)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E63 #2E844F
analogous
#7A2E84 #842E63 #842E38
triadic
#842E63 #63842E #2E6384
tetradic
#842E63 #847A2E #2E844F #2E3884
square
#842E63 #847A2E #2E844F #2E3884
split-complementary
#842E63 #38842E #2E847A
monochromatic
#290E1F #571E41 #842E63 #B13E85 #C964A2

Accessibility & contrast

On white

8.23
#842E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E63
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E63#FFFFFF#000000##FFFFFF
##842E631.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374565
Deuteranopia (green-blind)
#505461
Tritanopia (blue-blind)
#8D2D44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842e63;
/* rgb */ color: rgb(132, 46, 99);
/* oklch */ color: oklch(44.4% 0.133 345.9);
Tailwind
colors: {
  custom: {
    50: '#ab6d8f',
    500: '#842e63',
    950: '#000000',
  },
}
SCSS
$custom: #842e63;
$custom-light: #ab6d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#842e63",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 323.023,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44399,
    "c": 0.13258,
    "h": 345.9
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#842E63
secondary
#5EB07D
accent
#D88450
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842E63

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

Preview Lab → · Contrast checker → · Palette generator →

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