#842E50#842E50

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

Color values

HEX#842E50
RGBrgb(132, 46, 80)
HSLhsl(336, 48%, 35%)
HSVhsv(336, 65%, 52%)
CMYKcmyk(0%, 65.2%, 39.4%, 48.2%)
CIE-LABlab(32.79, 40.13, -1.01)
CIE-LCHlch(32.79, 40.14, 358.56°)
OKLaboklab(43.66% 0.1226 -0.0021)
OKLCHoklch(43.66% 0.123 359)
XYZxyz(11.9414, 7.4401, 8.3951)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E50 #2E8462
analogous
#842E7B #842E50 #84372E
triadic
#842E50 #50842E #2E5084
tetradic
#842E50 #7B842E #2E8462 #372E84
square
#842E50 #7B842E #2E8462 #372E84
split-complementary
#842E50 #2E8437 #2E7B84
monochromatic
#290E19 #571E34 #842E50 #B13E6C #C9648C

Accessibility & contrast

On white

8.44
#842E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E50
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E50#FFFFFF#000000##FFFFFF
##842E501.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4351
Deuteranopia (green-blind)
#55534E
Tritanopia (blue-blind)
#8F263B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842e50;
/* rgb */ color: rgb(132, 46, 80);
/* oklch */ color: oklch(43.7% 0.123 359.0);
Tailwind
colors: {
  custom: {
    50: '#ab6c81',
    500: '#842e50',
    950: '#000000',
  },
}
SCSS
$custom: #842e50;
$custom-light: #ab6c81;
$custom-dark: #000000;
JSON
{
  "hex": "#842e50",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 336.279,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43659,
    "c": 0.12265,
    "h": 359
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#842E50
secondary
#5EB08F
accent
#D8A250
background
#FAF6F7
surface
#F5ECEE
border
#CFC7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842E50

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

Preview Lab → · Contrast checker → · Palette generator →

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