#842C4E#842C4E

#842C4E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.3% C 0.125 H 359.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#842C4E
RGBrgb(132, 44, 78)
HSLhsl(337, 50%, 35%)
HSVhsv(337, 67%, 52%)
CMYKcmyk(0%, 66.7%, 40.9%, 48.2%)
CIE-LABlab(32.39, 40.81, -0.29)
CIE-LCHlch(32.39, 40.81, 359.59°)
OKLaboklab(43.34% 0.1248 -0.0003)
OKLCHoklch(43.34% 0.125 359.9)
XYZxyz(11.7923, 7.2583, 7.9862)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842C4E #2C8462
analogous
#842C7A #842C4E #84362C
triadic
#842C4E #4E842C #2C4E84
tetradic
#842C4E #7A842C #2C8462 #362C84
square
#842C4E #7A842C #2C8462 #362C84
split-complementary
#842C4E #2C8436 #2C7A84
monochromatic
#280D18 #561D33 #842C4E #B23B69 #CA6089

Accessibility & contrast

On white

8.57
#842C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#842C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842C4E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842C4E#FFFFFF#000000##FFFFFF
##842C4E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#8F233A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842c4e;
/* rgb */ color: rgb(132, 44, 78);
/* oklch */ color: oklch(43.3% 0.125 359.9);
Tailwind
colors: {
  custom: {
    50: '#ac6b7f',
    500: '#842c4e',
    950: '#000000',
  },
}
SCSS
$custom: #842c4e;
$custom-light: #ac6b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#842c4e",
  "rgb": {
    "r": 132,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 336.818,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.12479,
    "h": 359.9
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#842C4E
secondary
#5CB090
accent
#DAA44E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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