#842E4D#842E4D

#842E4D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.6% C 0.122 H 1.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#842E4D
RGBrgb(132, 46, 77)
HSLhsl(338, 48%, 35%)
HSVhsv(338, 65%, 52%)
CMYKcmyk(0%, 65.2%, 41.7%, 48.2%)
CIE-LABlab(32.69, 39.78, 0.81)
CIE-LCHlch(32.69, 39.79, 1.16°)
OKLaboklab(43.56% 0.1215 0.0026)
OKLCHoklch(43.56% 0.122 1.2)
XYZxyz(11.8330, 7.3967, 7.8243)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E4D #2E8465
analogous
#842E78 #842E4D #843A2E
triadic
#842E4D #4D842E #2E4D84
tetradic
#842E4D #78842E #2E8465 #3A2E84
square
#842E4D #78842E #2E8465 #3A2E84
split-complementary
#842E4D #2E843A #2E7884
monochromatic
#290E18 #571E33 #842E4D #B13E67 #C96488

Accessibility & contrast

On white

8.47
#842E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#842E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E4D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E4D#FFFFFF#000000##FFFFFF
##842E4D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#8F253A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842e4d;
/* rgb */ color: rgb(132, 46, 77);
/* oklch */ color: oklch(43.6% 0.122 1.2);
Tailwind
colors: {
  custom: {
    50: '#ac6c7e',
    500: '#842e4d',
    950: '#000000',
  },
}
SCSS
$custom: #842e4d;
$custom-light: #ac6c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#842e4d",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 338.372,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.12156,
    "h": 1.2
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#842E4D
secondary
#5EB092
accent
#D8A750
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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