#842A4E#842A4E

#842A4E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.1% C 0.128 H 359.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#842A4E
RGBrgb(132, 42, 78)
HSLhsl(336, 52%, 34%)
HSVhsv(336, 68%, 52%)
CMYKcmyk(0%, 68.2%, 40.9%, 48.2%)
CIE-LABlab(32.06, 41.70, -0.77)
CIE-LCHlch(32.06, 41.70, 358.95°)
OKLaboklab(43.1% 0.1276 -0.0015)
OKLCHoklch(43.1% 0.128 359.3)
XYZxyz(11.7196, 7.1129, 7.9620)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842A4E #2A8460
analogous
#842A7B #842A4E #84332A
triadic
#842A4E #4E842A #2A4E84
tetradic
#842A4E #7B842A #2A8460 #332A84
square
#842A4E #7B842A #2A8460 #332A84
split-complementary
#842A4E #2A8433 #2A7B84
monochromatic
#270C17 #561B33 #842A4E #B23969 #CB5D89

Accessibility & contrast

On white

8.67
#842A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#842A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842A4E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842A4E#FFFFFF#000000##FFFFFF
##842A4E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#53524C
Tritanopia (blue-blind)
#8F2039
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842a4e;
/* rgb */ color: rgb(132, 42, 78);
/* oklch */ color: oklch(43.1% 0.128 359.3);
Tailwind
colors: {
  custom: {
    50: '#ac6a7f',
    500: '#842a4e',
    950: '#000000',
  },
}
SCSS
$custom: #842a4e;
$custom-light: #ac6a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#842a4e",
  "rgb": {
    "r": 132,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 336,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.431,
    "c": 0.1276,
    "h": 359.3
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#842A4E
secondary
#59B18E
accent
#DBA24D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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