#842072#842072

#842072 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 336.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#842072
RGBrgb(132, 32, 114)
HSLhsl(311, 61%, 32%)
HSVhsv(311, 76%, 52%)
CMYKcmyk(0%, 75.8%, 13.6%, 48.2%)
CIE-LABlab(32.16, 50.50, -23.83)
CIE-LCHlch(32.16, 55.85, 334.74°)
OKLaboklab(43.66% 0.1483 -0.0649)
OKLCHoklch(43.66% 0.162 336.4)
XYZxyz(13.0697, 7.1547, 16.6090)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842072 #208432
analogous
#642084 #842072 #842040
triadic
#842072 #728420 #207284
tetradic
#842072 #846420 #208432 #204084
square
#842072 #846420 #208432 #204084
split-complementary
#842072 #408420 #208464
monochromatic
#21081D #531447 #842072 #B52C9D #D34BBB

Accessibility & contrast

On white

8.64
#842072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#842072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842072
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842072#FFFFFF#000000##FFFFFF
##8420721.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#455170
Tritanopia (blue-blind)
#8B2747
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842072;
/* rgb */ color: rgb(132, 32, 114);
/* oklch */ color: oklch(43.7% 0.162 336.4);
Tailwind
colors: {
  custom: {
    50: '#ab669b',
    500: '#842072',
    950: '#000000',
  },
}
SCSS
$custom: #842072;
$custom-light: #ab669b;
$custom-dark: #000000;
JSON
{
  "hex": "#842072",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 310.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.1619,
    "h": 336.4
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#842072
secondary
#4AB65D
accent
#E46144
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #842072

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

Preview Lab → · Contrast checker → · Palette generator →

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