#842371#842371

#842371 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.158 H 337.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#842371
RGBrgb(132, 35, 113)
HSLhsl(312, 58%, 33%)
HSVhsv(312, 73%, 52%)
CMYKcmyk(0%, 73.5%, 14.4%, 48.2%)
CIE-LABlab(32.48, 49.28, -22.69)
CIE-LCHlch(32.48, 54.25, 335.28°)
OKLaboklab(43.88% 0.145 -0.0617)
OKLCHoklch(43.88% 0.158 337)
XYZxyz(13.0976, 7.3010, 16.3390)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842371 #238436
analogous
#672384 #842371 #842340
triadic
#842371 #718423 #237184
tetradic
#842371 #846723 #238436 #234084
square
#842371 #846723 #238436 #234084
split-complementary
#842371 #408423 #238467
monochromatic
#23091E #541648 #842371 #B4309A #D151B8

Accessibility & contrast

On white

8.54
#842371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#842371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842371
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842371#FFFFFF#000000##FFFFFF
##8423711.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#46526F
Tritanopia (blue-blind)
#8B2947
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842371;
/* rgb */ color: rgb(132, 35, 113);
/* oklch */ color: oklch(43.9% 0.158 337.0);
Tailwind
colors: {
  custom: {
    50: '#ab689a',
    500: '#842371',
    950: '#000000',
  },
}
SCSS
$custom: #842371;
$custom-light: #ab689a;
$custom-dark: #000000;
JSON
{
  "hex": "#842371",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 311.753,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.1576,
    "h": 337
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#842371
secondary
#4EB462
accent
#E16546
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842371

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

Preview Lab → · Contrast checker → · Palette generator →

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