#842560#842560

#842560 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.143 H 346.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#842560
RGBrgb(132, 37, 96)
HSLhsl(323, 56%, 33%)
HSVhsv(323, 72%, 52%)
CMYKcmyk(0%, 72%, 27.3%, 48.2%)
CIE-LABlab(31.98, 46.04, -12.59)
CIE-LCHlch(31.98, 47.73, 344.71°)
OKLaboklab(43.25% 0.1396 -0.0333)
OKLCHoklch(43.25% 0.143 346.6)
XYZxyz(12.2891, 7.0745, 11.7824)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842560 #258449
analogous
#782584 #842560 #842530
triadic
#842560 #608425 #256084
tetradic
#842560 #847825 #258449 #253084
square
#842560 #847825 #258449 #253084
split-complementary
#842560 #308425 #258478
monochromatic
#240A1A #54183D #842560 #B43283 #CF54A1

Accessibility & contrast

On white

8.70
#842560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#842560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842560
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842560#FFFFFF#000000##FFFFFF
##8425601.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314162
Deuteranopia (green-blind)
#4D515E
Tritanopia (blue-blind)
#8D223F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842560;
/* rgb */ color: rgb(132, 37, 96);
/* oklch */ color: oklch(43.3% 0.143 346.6);
Tailwind
colors: {
  custom: {
    50: '#ab688d',
    500: '#842560',
    950: '#000000',
  },
}
SCSS
$custom: #842560;
$custom-light: #ab688d;
$custom-dark: #000000;
JSON
{
  "hex": "#842560",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 322.737,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.14349,
    "h": 346.6
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#842560
secondary
#51B377
accent
#E08248
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #842560

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

Preview Lab → · Contrast checker → · Palette generator →

#842560 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva