#842064#842064

#842064 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.152 H 343.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#842064
RGBrgb(132, 32, 100)
HSLhsl(319, 61%, 32%)
HSVhsv(319, 76%, 52%)
CMYKcmyk(0%, 75.8%, 24.2%, 48.2%)
CIE-LABlab(31.49, 48.45, -15.92)
CIE-LCHlch(31.49, 51.00, 341.81°)
OKLaboklab(42.95% 0.1462 -0.0425)
OKLCHoklch(42.95% 0.152 343.8)
XYZxyz(12.3330, 6.8600, 12.7287)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842064 #208440
analogous
#722084 #842064 #842032
triadic
#842064 #648420 #206484
tetradic
#842064 #847220 #208440 #203284
square
#842064 #847220 #208440 #203284
split-complementary
#842064 #328420 #208472
monochromatic
#210819 #53143F #842064 #B52C89 #D34BA8

Accessibility & contrast

On white

8.85
#842064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#842064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842064
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842064#FFFFFF#000000##FFFFFF
##8420641.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3F66
Deuteranopia (green-blind)
#4A5062
Tritanopia (blue-blind)
#8D203F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842064;
/* rgb */ color: rgb(132, 32, 100);
/* oklch */ color: oklch(43.0% 0.152 343.8);
Tailwind
colors: {
  custom: {
    50: '#ab6690',
    500: '#842064',
    950: '#000000',
  },
}
SCSS
$custom: #842064;
$custom-light: #ab6690;
$custom-dark: #000000;
JSON
{
  "hex": "#842064",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 319.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42953,
    "c": 0.15226,
    "h": 343.8
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#842064
secondary
#4AB66C
accent
#E47744
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #842064

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

Preview Lab → · Contrast checker → · Palette generator →

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