#842E4F#842E4F

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

Color values

HEX#842E4F
RGBrgb(132, 46, 79)
HSLhsl(337, 48%, 35%)
HSVhsv(337, 65%, 52%)
CMYKcmyk(0%, 65.2%, 40.2%, 48.2%)
CIE-LABlab(32.76, 40.01, -0.40)
CIE-LCHlch(32.76, 40.01, 359.42°)
OKLaboklab(43.63% 0.1223 -0.0006)
OKLCHoklch(43.63% 0.122 359.7)
XYZxyz(11.9047, 7.4254, 8.2019)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E4F #2E8463
analogous
#842E7A #842E4F #84382E
triadic
#842E4F #4F842E #2E4F84
tetradic
#842E4F #7A842E #2E8463 #382E84
square
#842E4F #7A842E #2E8463 #382E84
split-complementary
#842E4F #2E8438 #2E7A84
monochromatic
#290E19 #571E34 #842E4F #B13E6A #C9648A

Accessibility & contrast

On white

8.45
#842E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E4F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E4F#FFFFFF#000000##FFFFFF
##842E4F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4350
Deuteranopia (green-blind)
#55534D
Tritanopia (blue-blind)
#8F253B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842e4f;
/* rgb */ color: rgb(132, 46, 79);
/* oklch */ color: oklch(43.6% 0.122 359.7);
Tailwind
colors: {
  custom: {
    50: '#ab6c80',
    500: '#842e4f',
    950: '#000000',
  },
}
SCSS
$custom: #842e4f;
$custom-light: #ab6c80;
$custom-dark: #000000;
JSON
{
  "hex": "#842e4f",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 336.977,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.12227,
    "h": 359.7
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#842E4F
secondary
#5EB090
accent
#D8A450
background
#FAF6F7
surface
#F5ECEE
border
#CFC7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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