#842E4B#842E4B

#842E4B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.5% C 0.121 H 2.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#842E4B
RGBrgb(132, 46, 75)
HSLhsl(340, 48%, 35%)
HSVhsv(340, 65%, 52%)
CMYKcmyk(0%, 65.2%, 43.2%, 48.2%)
CIE-LABlab(32.63, 39.55, 2.02)
CIE-LCHlch(32.63, 39.60, 2.92°)
OKLaboklab(43.49% 0.1208 0.0057)
OKLCHoklch(43.49% 0.121 2.7)
XYZxyz(11.7635, 7.3689, 7.4581)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E4B #2E8467
analogous
#842E76 #842E4B #843C2E
triadic
#842E4B #4B842E #2E4B84
tetradic
#842E4B #76842E #2E8467 #3C2E84
square
#842E4B #76842E #2E8467 #3C2E84
split-complementary
#842E4B #2E843C #2E7684
monochromatic
#290E17 #571E31 #842E4B #B13E65 #C96486

Accessibility & contrast

On white

8.49
#842E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#842E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E4B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E4B#FFFFFF#000000##FFFFFF
##842E4B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#565349
Tritanopia (blue-blind)
#8F2439
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842e4b;
/* rgb */ color: rgb(132, 46, 75);
/* oklch */ color: oklch(43.5% 0.121 2.7);
Tailwind
colors: {
  custom: {
    50: '#ac6c7d',
    500: '#842e4b',
    950: '#000000',
  },
}
SCSS
$custom: #842e4b;
$custom-light: #ac6c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#842e4b",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 339.767,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43492,
    "c": 0.12091,
    "h": 2.7
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#842E4B
secondary
#5EB094
accent
#D8AA50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #842E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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