#842E5F#842E5F

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

Color values

HEX#842E5F
RGBrgb(132, 46, 95)
HSLhsl(326, 48%, 35%)
HSVhsv(326, 65%, 52%)
CMYKcmyk(0%, 65.2%, 28%, 48.2%)
CIE-LABlab(33.32, 42.07, -9.90)
CIE-LCHlch(33.32, 43.22, 346.76°)
OKLaboklab(44.23% 0.1275 -0.026)
OKLCHoklch(44.23% 0.13 348.5)
XYZxyz(12.5588, 7.6870, 11.6466)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E5F #2E8453
analogous
#7E2E84 #842E5F #842E34
triadic
#842E5F #5F842E #2E5F84
tetradic
#842E5F #847E2E #2E8453 #2E3484
square
#842E5F #847E2E #2E8453 #2E3484
split-complementary
#842E5F #34842E #2E847E
monochromatic
#290E1E #571E3E #842E5F #B13E80 #C9649D

Accessibility & contrast

On white

8.28
#842E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842E5F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E5F#FFFFFF#000000##FFFFFF
##842E5F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394560
Deuteranopia (green-blind)
#51545D
Tritanopia (blue-blind)
#8D2B42
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842e5f;
/* rgb */ color: rgb(132, 46, 95);
/* oklch */ color: oklch(44.2% 0.130 348.5);
Tailwind
colors: {
  custom: {
    50: '#ab6c8c',
    500: '#842e5f',
    950: '#000000',
  },
}
SCSS
$custom: #842e5f;
$custom-light: #ab6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#842e5f",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 325.814,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.1301,
    "h": 348.5
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#842E5F
secondary
#5EB081
accent
#D88A50
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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