#842052#842052

#842052 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.142 H 354.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#842052
RGBrgb(132, 32, 82)
HSLhsl(330, 61%, 32%)
HSVhsv(330, 76%, 52%)
CMYKcmyk(0%, 75.8%, 37.9%, 48.2%)
CIE-LABlab(30.76, 46.16, -5.32)
CIE-LCHlch(30.76, 46.46, 353.43°)
OKLaboklab(42.18% 0.1416 -0.0134)
OKLCHoklch(42.18% 0.142 354.6)
XYZxyz(11.5560, 6.5492, 8.6366)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842052 #208452
analogous
#842084 #842052 #842020
triadic
#842052 #528420 #205284
tetradic
#842052 #848420 #208452 #202084
square
#842052 #848420 #208452 #202084
split-complementary
#842052 #208420 #208484
monochromatic
#210815 #531433 #842052 #B52C71 #D34B8F

Accessibility & contrast

On white

9.09
#842052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#842052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842052
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842052#FFFFFF#000000##FFFFFF
##8420521.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#8F1636
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842052;
/* rgb */ color: rgb(132, 32, 82);
/* oklch */ color: oklch(42.2% 0.142 354.6);
Tailwind
colors: {
  custom: {
    50: '#ac6582',
    500: '#842052',
    950: '#000000',
  },
}
SCSS
$custom: #842052;
$custom-light: #ac6582;
$custom-dark: #000000;
JSON
{
  "hex": "#842052",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 330,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.14224,
    "h": 354.6
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#842052
secondary
#4AB680
accent
#E49444
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #842052

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

Preview Lab → · Contrast checker → · Palette generator →

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