#842D52#842D52

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

Color values

HEX#842D52
RGBrgb(132, 45, 82)
HSLhsl(334, 49%, 35%)
HSVhsv(334, 66%, 52%)
CMYKcmyk(0%, 65.9%, 37.9%, 48.2%)
CIE-LABlab(32.68, 40.83, -2.46)
CIE-LCHlch(32.68, 40.90, 356.56°)
OKLaboklab(43.6% 0.1248 -0.0059)
OKLCHoklch(43.6% 0.125 357.3)
XYZxyz(11.9778, 7.3928, 8.7772)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842D52 #2D845F
analogous
#842D7E #842D52 #84342D
triadic
#842D52 #52842D #2D5284
tetradic
#842D52 #7E842D #2D845F #342D84
square
#842D52 #7E842D #2D845F #342D84
split-complementary
#842D52 #2D8434 #2D7E84
monochromatic
#290E19 #561D36 #842D52 #B23D6E #C9628E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842D52#FFFFFF#000000##FFFFFF
##842D521.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)
#3C4353
Deuteranopia (green-blind)
#545350
Tritanopia (blue-blind)
#8F253C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842d52;
/* rgb */ color: rgb(132, 45, 82);
/* oklch */ color: oklch(43.6% 0.125 357.3);
Tailwind
colors: {
  custom: {
    50: '#ab6c82',
    500: '#842d52',
    950: '#000000',
  },
}
SCSS
$custom: #842d52;
$custom-light: #ab6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#842d52",
  "rgb": {
    "r": 132,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 334.483,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43604,
    "c": 0.12492,
    "h": 357.3
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#842D52
secondary
#5DB08D
accent
#D99E4F
background
#FAF6F7
surface
#F5ECEE
border
#CFC7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842D52

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

Preview Lab → · Contrast checker → · Palette generator →

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