#842E52#842E52

#842E52 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.7% C 0.123 H 357.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#842E52
RGBrgb(132, 46, 82)
HSLhsl(335, 48%, 35%)
HSVhsv(335, 65%, 52%)
CMYKcmyk(0%, 65.2%, 37.9%, 48.2%)
CIE-LABlab(32.85, 40.37, -2.21)
CIE-LCHlch(32.85, 40.43, 356.87°)
OKLaboklab(43.73% 0.1233 -0.0053)
OKLCHoklch(43.73% 0.123 357.5)
XYZxyz(12.0164, 7.4701, 8.7901)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E52 #2E8460
analogous
#842E7D #842E52 #84352E
triadic
#842E52 #52842E #2E5284
tetradic
#842E52 #7D842E #2E8460 #352E84
square
#842E52 #7D842E #2E8460 #352E84
split-complementary
#842E52 #2E8435 #2E7D84
monochromatic
#290E1A #571E36 #842E52 #B13E6E #C9648E

Accessibility & contrast

On white

8.42
#842E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#842E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E52
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E52#FFFFFF#000000##FFFFFF
##842E521.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#545350
Tritanopia (blue-blind)
#8E263C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842e52;
/* rgb */ color: rgb(132, 46, 82);
/* oklch */ color: oklch(43.7% 0.123 357.5);
Tailwind
colors: {
  custom: {
    50: '#ab6c82',
    500: '#842e52',
    950: '#000000',
  },
}
SCSS
$custom: #842e52;
$custom-light: #ab6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#842e52",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 334.884,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.12345,
    "h": 357.5
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#842E52
secondary
#5EB08E
accent
#D89F50
background
#FAF6F7
surface
#F5ECEE
border
#CFC7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842E52

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

Preview Lab → · Contrast checker → · Palette generator →

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