#842473#842473

#842473 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.158 H 336.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#842473
RGBrgb(132, 36, 115)
HSLhsl(311, 57%, 33%)
HSVhsv(311, 73%, 52%)
CMYKcmyk(0%, 72.7%, 12.9%, 48.2%)
CIE-LABlab(32.71, 49.22, -23.59)
CIE-LCHlch(32.71, 54.59, 334.39°)
OKLaboklab(44.08% 0.1442 -0.0643)
OKLCHoklch(44.08% 0.158 336)
XYZxyz(13.2413, 7.4063, 16.9485)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842473 #248435
analogous
#652484 #842473 #842443
triadic
#842473 #738424 #247384
tetradic
#842473 #846524 #248435 #244384
square
#842473 #846524 #248435 #244384
split-complementary
#842473 #438424 #248465
monochromatic
#240A1F #541749 #842473 #B4319D #D052BA

Accessibility & contrast

On white

8.46
#842473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#842473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842473
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842473#FFFFFF#000000##FFFFFF
##8424731.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842473;
/* rgb */ color: rgb(132, 36, 115);
/* oklch */ color: oklch(44.1% 0.158 336.0);
Tailwind
colors: {
  custom: {
    50: '#ab689b',
    500: '#842473',
    950: '#000000',
  },
}
SCSS
$custom: #842473;
$custom-light: #ab689b;
$custom-dark: #000000;
JSON
{
  "hex": "#842473",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 310.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.15784,
    "h": 336
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#842473
secondary
#50B462
accent
#E06247
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842473

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

Preview Lab → · Contrast checker → · Palette generator →

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