#842E61#842E61

#842E61 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.3% C 0.131 H 347.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#842E61
RGBrgb(132, 46, 97)
HSLhsl(324, 48%, 35%)
HSVhsv(324, 65%, 52%)
CMYKcmyk(0%, 65.2%, 26.5%, 48.2%)
CIE-LABlab(33.40, 42.35, -11.06)
CIE-LCHlch(33.40, 43.77, 345.36°)
OKLaboklab(44.31% 0.128 -0.0291)
OKLCHoklch(44.31% 0.131 347.2)
XYZxyz(12.6509, 7.7238, 12.1315)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E61 #2E8451
analogous
#7C2E84 #842E61 #842E36
triadic
#842E61 #61842E #2E6184
tetradic
#842E61 #847C2E #2E8451 #2E3684
square
#842E61 #847C2E #2E8451 #2E3684
split-complementary
#842E61 #36842E #2E847C
monochromatic
#290E1E #571E40 #842E61 #B13E82 #C964A0

Accessibility & contrast

On white

8.25
#842E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#842E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E61
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E61#FFFFFF#000000##FFFFFF
##842E611.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384563
Deuteranopia (green-blind)
#50545F
Tritanopia (blue-blind)
#8D2C43
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842e61;
/* rgb */ color: rgb(132, 46, 97);
/* oklch */ color: oklch(44.3% 0.131 347.2);
Tailwind
colors: {
  custom: {
    50: '#ab6c8e',
    500: '#842e61',
    950: '#000000',
  },
}
SCSS
$custom: #842e61;
$custom-light: #ab6c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#842e61",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 324.419,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.13132,
    "h": 347.2
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#842E61
secondary
#5EB07F
accent
#D88750
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842E61

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

Preview Lab → · Contrast checker → · Palette generator →

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