#842460#842460

#842460 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.145 H 346.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#842460
RGBrgb(132, 36, 96)
HSLhsl(323, 57%, 33%)
HSVhsv(323, 73%, 52%)
CMYKcmyk(0%, 72.7%, 27.3%, 48.2%)
CIE-LABlab(31.84, 46.43, -12.80)
CIE-LCHlch(31.84, 48.16, 344.58°)
OKLaboklab(43.15% 0.1408 -0.0339)
OKLCHoklch(43.15% 0.145 346.5)
XYZxyz(12.2584, 7.0131, 11.7722)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842460 #248448
analogous
#782484 #842460 #842430
triadic
#842460 #608424 #246084
tetradic
#842460 #847824 #248448 #243084
square
#842460 #847824 #248448 #243084
split-complementary
#842460 #308424 #248478
monochromatic
#240A1A #54173D #842460 #B43183 #D052A1

Accessibility & contrast

On white

8.74
#842460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#842460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842460
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842460#FFFFFF#000000##FFFFFF
##8424601.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842460;
/* rgb */ color: rgb(132, 36, 96);
/* oklch */ color: oklch(43.2% 0.145 346.5);
Tailwind
colors: {
  custom: {
    50: '#ab678d',
    500: '#842460',
    950: '#000000',
  },
}
SCSS
$custom: #842460;
$custom-light: #ab678d;
$custom-dark: #000000;
JSON
{
  "hex": "#842460",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 322.5,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.1448,
    "h": 346.5
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#842460
secondary
#50B475
accent
#E08147
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #842460

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

Preview Lab → · Contrast checker → · Palette generator →

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