#842E73#842E73

#842E73 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.144 H 336.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#842E73
RGBrgb(132, 46, 115)
HSLhsl(312, 48%, 35%)
HSVhsv(312, 65%, 52%)
CMYKcmyk(0%, 65.2%, 12.9%, 48.2%)
CIE-LABlab(34.19, 45.11, -21.30)
CIE-LCHlch(34.19, 49.89, 334.73°)
OKLaboklab(45.15% 0.132 -0.0578)
OKLCHoklch(45.15% 0.144 336.3)
XYZxyz(13.5874, 8.0985, 17.0639)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E73 #2E843F
analogous
#6A2E84 #842E73 #842E48
triadic
#842E73 #73842E #2E7384
tetradic
#842E73 #846A2E #2E843F #2E4884
square
#842E73 #846A2E #2E843F #2E4884
split-complementary
#842E73 #48842E #2E846A
monochromatic
#290E24 #571E4B #842E73 #B13E9B #C964B5

Accessibility & contrast

On white

8.02
#842E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#842E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E73
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E73#FFFFFF#000000##FFFFFF
##842E731.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#8B334C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842e73;
/* rgb */ color: rgb(132, 46, 115);
/* oklch */ color: oklch(45.1% 0.144 336.3);
Tailwind
colors: {
  custom: {
    50: '#aa6d9b',
    500: '#842e73',
    950: '#000000',
  },
}
SCSS
$custom: #842e73;
$custom-light: #aa6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#842e73",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 311.86,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.14408,
    "h": 336.3
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#842E73
secondary
#5EB06E
accent
#D86B50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842E73

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

Preview Lab → · Contrast checker → · Palette generator →

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