#842572#842572

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

Color values

HEX#842572
RGBrgb(132, 37, 114)
HSLhsl(311, 56%, 33%)
HSVhsv(311, 72%, 52%)
CMYKcmyk(0%, 72%, 13.6%, 48.2%)
CIE-LABlab(32.80, 48.69, -22.83)
CIE-LCHlch(32.80, 53.77, 334.88°)
OKLaboklab(44.12% 0.1429 -0.0621)
OKLCHoklch(44.12% 0.156 336.5)
XYZxyz(13.2148, 7.4447, 16.6573)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842572 #258437
analogous
#662584 #842572 #842543
triadic
#842572 #728425 #257284
tetradic
#842572 #846625 #258437 #254384
square
#842572 #846625 #258437 #254384
split-complementary
#842572 #438425 #258466
monochromatic
#240A1F #541849 #842572 #B4329B #CF54B8

Accessibility & contrast

On white

8.44
#842572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#842572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842572
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842572#FFFFFF#000000##FFFFFF
##8425721.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#475270
Tritanopia (blue-blind)
#8B2B48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842572;
/* rgb */ color: rgb(132, 37, 114);
/* oklch */ color: oklch(44.1% 0.156 336.5);
Tailwind
colors: {
  custom: {
    50: '#ab699b',
    500: '#842572',
    950: '#000000',
  },
}
SCSS
$custom: #842572;
$custom-light: #ab699b;
$custom-dark: #000000;
JSON
{
  "hex": "#842572",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 311.368,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.15581,
    "h": 336.5
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#842572
secondary
#51B364
accent
#E06548
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842572

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

Preview Lab → · Contrast checker → · Palette generator →

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