#842373#842373

#842373 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.159 H 335.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#842373
RGBrgb(132, 35, 115)
HSLhsl(311, 58%, 33%)
HSVhsv(311, 73%, 52%)
CMYKcmyk(0%, 73.5%, 12.9%, 48.2%)
CIE-LABlab(32.58, 49.59, -23.80)
CIE-LCHlch(32.58, 55.01, 334.36°)
OKLaboklab(43.98% 0.1453 -0.0649)
OKLCHoklch(43.98% 0.159 335.9)
XYZxyz(13.2115, 7.3466, 16.9386)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842373 #238434
analogous
#642384 #842373 #842343
triadic
#842373 #738423 #237384
tetradic
#842373 #846423 #238434 #234384
square
#842373 #846423 #238434 #234384
split-complementary
#842373 #438423 #238464
monochromatic
#23091F #541649 #842373 #B4309D #D151BA

Accessibility & contrast

On white

8.51
#842373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#842373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842373
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842373#FFFFFF#000000##FFFFFF
##8423731.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#8B2A48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842373;
/* rgb */ color: rgb(132, 35, 115);
/* oklch */ color: oklch(44.0% 0.159 335.9);
Tailwind
colors: {
  custom: {
    50: '#ab689b',
    500: '#842373',
    950: '#000000',
  },
}
SCSS
$custom: #842373;
$custom-light: #ab689b;
$custom-dark: #000000;
JSON
{
  "hex": "#842373",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 310.515,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43982,
    "c": 0.15908,
    "h": 335.9
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#842373
secondary
#4EB460
accent
#E16246
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842373

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

Preview Lab → · Contrast checker → · Palette generator →

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