#842471#842471

#842471 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.156 H 337.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#842471
RGBrgb(132, 36, 113)
HSLhsl(312, 57%, 33%)
HSVhsv(312, 73%, 52%)
CMYKcmyk(0%, 72.7%, 14.4%, 48.2%)
CIE-LABlab(32.61, 48.91, -22.48)
CIE-LCHlch(32.61, 53.83, 335.31°)
OKLaboklab(43.97% 0.1439 -0.0611)
OKLCHoklch(43.97% 0.156 337)
XYZxyz(13.1275, 7.3607, 16.3490)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842471 #248437
analogous
#672484 #842471 #842441
triadic
#842471 #718424 #247184
tetradic
#842471 #846724 #248437 #244184
square
#842471 #846724 #248437 #244184
split-complementary
#842471 #418424 #248467
monochromatic
#240A1F #541748 #842471 #B4319A #D052B7

Accessibility & contrast

On white

8.50
#842471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842471
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842471#FFFFFF#000000##FFFFFF
##8424711.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8B2A47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842471;
/* rgb */ color: rgb(132, 36, 113);
/* oklch */ color: oklch(44.0% 0.156 337.0);
Tailwind
colors: {
  custom: {
    50: '#ab689a',
    500: '#842471',
    950: '#000000',
  },
}
SCSS
$custom: #842471;
$custom-light: #ab689a;
$custom-dark: #000000;
JSON
{
  "hex": "#842471",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 311.875,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.15635,
    "h": 337
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#842471
secondary
#50B464
accent
#E06647
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842471

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

Preview Lab → · Contrast checker → · Palette generator →

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