#842E57#842E57

#842E57 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.126 H 354.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#842E57
RGBrgb(132, 46, 87)
HSLhsl(331, 48%, 35%)
HSVhsv(331, 65%, 52%)
CMYKcmyk(0%, 65.2%, 34.1%, 48.2%)
CIE-LABlab(33.03, 41.00, -5.19)
CIE-LCHlch(33.03, 41.32, 352.78°)
OKLaboklab(43.91% 0.125 -0.0132)
OKLCHoklch(43.91% 0.126 354)
XYZxyz(12.2137, 7.5490, 9.8289)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E57 #2E845B
analogous
#842E82 #842E57 #84302E
triadic
#842E57 #57842E #2E5784
tetradic
#842E57 #82842E #2E845B #302E84
square
#842E57 #82842E #2E845B #302E84
split-complementary
#842E57 #2E8430 #2E8284
monochromatic
#290E1B #571E39 #842E57 #B13E75 #C96494

Accessibility & contrast

On white

8.37
#842E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#842E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E57
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E57#FFFFFF#000000##FFFFFF
##842E571.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4458
Deuteranopia (green-blind)
#535355
Tritanopia (blue-blind)
#8E283F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e57;
/* rgb */ color: rgb(132, 46, 87);
/* oklch */ color: oklch(43.9% 0.126 354.0);
Tailwind
colors: {
  custom: {
    50: '#ab6c86',
    500: '#842e57',
    950: '#000000',
  },
}
SCSS
$custom: #842e57;
$custom-light: #ab6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#842e57",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 331.395,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.12573,
    "h": 354
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#842E57
secondary
#5EB089
accent
#D89750
background
#FAF6F8
surface
#F5ECEF
border
#CFC7CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #842E57

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

Preview Lab → · Contrast checker → · Palette generator →

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