#842E5E#842E5E

#842E5E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.2% C 0.130 H 349.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#842E5E
RGBrgb(132, 46, 94)
HSLhsl(327, 48%, 35%)
HSVhsv(327, 65%, 52%)
CMYKcmyk(0%, 65.2%, 28.8%, 48.2%)
CIE-LABlab(33.28, 41.93, -9.32)
CIE-LCHlch(33.28, 42.95, 347.47°)
OKLaboklab(44.19% 0.1272 -0.0244)
OKLCHoklch(44.19% 0.13 349.2)
XYZxyz(12.5136, 7.6689, 11.4087)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E5E #2E8454
analogous
#7F2E84 #842E5E #842E33
triadic
#842E5E #5E842E #2E5E84
tetradic
#842E5E #847F2E #2E8454 #2E3384
square
#842E5E #847F2E #2E8454 #2E3384
split-complementary
#842E5E #33842E #2E847F
monochromatic
#290E1D #571E3E #842E5E #B13E7E #C9649C

Accessibility & contrast

On white

8.29
#842E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#842E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E5E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E5E#FFFFFF#000000##FFFFFF
##842E5E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39455F
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#8D2B42
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e5e;
/* rgb */ color: rgb(132, 46, 94);
/* oklch */ color: oklch(44.2% 0.130 349.2);
Tailwind
colors: {
  custom: {
    50: '#ab6c8b',
    500: '#842e5e',
    950: '#000000',
  },
}
SCSS
$custom: #842e5e;
$custom-light: #ab6c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#842e5e",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 326.512,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.1295,
    "h": 349.2
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#842E5E
secondary
#5EB082
accent
#D88C50
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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