#842E6B#842E6B

#842E6B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.138 H 340.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#842E6B
RGBrgb(132, 46, 107)
HSLhsl(317, 48%, 35%)
HSVhsv(317, 65%, 52%)
CMYKcmyk(0%, 65.2%, 18.9%, 48.2%)
CIE-LABlab(33.82, 43.84, -16.81)
CIE-LCHlch(33.82, 46.95, 339.03°)
OKLaboklab(44.76% 0.1305 -0.0451)
OKLCHoklch(44.76% 0.138 340.9)
XYZxyz(13.1469, 7.9222, 14.7438)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E6B #2E8447
analogous
#722E84 #842E6B #842E40
triadic
#842E6B #6B842E #2E6B84
tetradic
#842E6B #84722E #2E8447 #2E4084
square
#842E6B #84722E #2E8447 #2E4084
split-complementary
#842E6B #40842E #2E8472
monochromatic
#290E21 #571E46 #842E6B #B13E90 #C964AB

Accessibility & contrast

On white

8.13
#842E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#842E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E6B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E6B#FFFFFF#000000##FFFFFF
##842E6B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#4D5569
Tritanopia (blue-blind)
#8C3048
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #842e6b;
/* rgb */ color: rgb(132, 46, 107);
/* oklch */ color: oklch(44.8% 0.138 340.9);
Tailwind
colors: {
  custom: {
    50: '#ab6d95',
    500: '#842e6b',
    950: '#000000',
  },
}
SCSS
$custom: #842e6b;
$custom-light: #ab6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#842e6b",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 317.442,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44759,
    "c": 0.13804,
    "h": 340.9
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#842E6B
secondary
#5EB076
accent
#D87750
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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