#842564#842564

#842564 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.146 H 344.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#842564
RGBrgb(132, 37, 100)
HSLhsl(320, 56%, 33%)
HSVhsv(320, 72%, 52%)
CMYKcmyk(0%, 72%, 24.2%, 48.2%)
CIE-LABlab(32.15, 46.59, -14.91)
CIE-LCHlch(32.15, 48.92, 342.26°)
OKLaboklab(43.43% 0.1405 -0.0397)
OKLCHoklch(43.43% 0.146 344.2)
XYZxyz(12.4780, 7.1500, 12.7771)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842564 #258445
analogous
#742584 #842564 #842534
triadic
#842564 #648425 #256484
tetradic
#842564 #847425 #258445 #253484
square
#842564 #847425 #258445 #253484
split-complementary
#842564 #348425 #258474
monochromatic
#240A1C #541840 #842564 #B43288 #CF54A6

Accessibility & contrast

On white

8.64
#842564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#842564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842564
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842564#FFFFFF#000000##FFFFFF
##8425641.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4166
Deuteranopia (green-blind)
#4C5162
Tritanopia (blue-blind)
#8D2441
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842564;
/* rgb */ color: rgb(132, 37, 100);
/* oklch */ color: oklch(43.4% 0.146 344.2);
Tailwind
colors: {
  custom: {
    50: '#ab6890',
    500: '#842564',
    950: '#000000',
  },
}
SCSS
$custom: #842564;
$custom-light: #ab6890;
$custom-dark: #000000;
JSON
{
  "hex": "#842564",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 320.211,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.146,
    "h": 344.2
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#842564
secondary
#51B372
accent
#E07B48
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842564

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

Preview Lab → · Contrast checker → · Palette generator →

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