#842573#842573

#842573 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.157 H 336.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#842573
RGBrgb(132, 37, 115)
HSLhsl(311, 56%, 33%)
HSVhsv(311, 72%, 52%)
CMYKcmyk(0%, 72%, 12.9%, 48.2%)
CIE-LABlab(32.85, 48.85, -23.39)
CIE-LCHlch(32.85, 54.16, 334.42°)
OKLaboklab(44.17% 0.143 -0.0637)
OKLCHoklch(44.17% 0.157 336)
XYZxyz(13.2720, 7.4676, 16.9587)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842573 #258436
analogous
#652584 #842573 #842543
triadic
#842573 #738425 #257384
tetradic
#842573 #846525 #258436 #254384
square
#842573 #846525 #258436 #254384
split-complementary
#842573 #438425 #258465
monochromatic
#240A20 #541849 #842573 #B4329D #CF54B9

Accessibility & contrast

On white

8.42
#842573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#842573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842573
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842573#FFFFFF#000000##FFFFFF
##8425731.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264475
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#8B2B49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842573;
/* rgb */ color: rgb(132, 37, 115);
/* oklch */ color: oklch(44.2% 0.157 336.0);
Tailwind
colors: {
  custom: {
    50: '#ab699b',
    500: '#842573',
    950: '#000000',
  },
}
SCSS
$custom: #842573;
$custom-light: #ab699b;
$custom-dark: #000000;
JSON
{
  "hex": "#842573",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 310.737,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.15657,
    "h": 336
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#842573
secondary
#51B363
accent
#E06348
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842573

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

Preview Lab → · Contrast checker → · Palette generator →

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