#842E5D#842E5D

#842E5D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.129 H 349.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#842E5D
RGBrgb(132, 46, 93)
HSLhsl(327, 48%, 35%)
HSVhsv(327, 65%, 52%)
CMYKcmyk(0%, 65.2%, 29.5%, 48.2%)
CIE-LABlab(33.25, 41.79, -8.73)
CIE-LCHlch(33.25, 42.70, 348.20°)
OKLaboklab(44.15% 0.1269 -0.0228)
OKLCHoklch(44.15% 0.129 349.8)
XYZxyz(12.4691, 7.6511, 11.1739)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E5D #2E8455
analogous
#802E84 #842E5D #842E32
triadic
#842E5D #5D842E #2E5D84
tetradic
#842E5D #84802E #2E8455 #2E3284
square
#842E5D #84802E #2E8455 #2E3284
split-complementary
#842E5D #32842E #2E8480
monochromatic
#290E1D #571E3D #842E5D #B13E7D #C9649B

Accessibility & contrast

On white

8.30
#842E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E5D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E5D#FFFFFF#000000##FFFFFF
##842E5D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39455E
Deuteranopia (green-blind)
#51545B
Tritanopia (blue-blind)
#8D2A41
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e5d;
/* rgb */ color: rgb(132, 46, 93);
/* oklch */ color: oklch(44.1% 0.129 349.8);
Tailwind
colors: {
  custom: {
    50: '#ab6c8b',
    500: '#842e5d',
    950: '#000000',
  },
}
SCSS
$custom: #842e5d;
$custom-light: #ab6c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#842e5d",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 327.209,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.12892,
    "h": 349.8
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#842E5D
secondary
#5EB083
accent
#D88E50
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #842E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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