#842054#842054

#842054 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 353.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#842054
RGBrgb(132, 32, 84)
HSLhsl(329, 61%, 32%)
HSVhsv(329, 76%, 52%)
CMYKcmyk(0%, 75.8%, 36.4%, 48.2%)
CIE-LABlab(30.83, 46.39, -6.52)
CIE-LCHlch(30.83, 46.85, 352.00°)
OKLaboklab(42.26% 0.1422 -0.0167)
OKLCHoklch(42.26% 0.143 353.3)
XYZxyz(11.6332, 6.5800, 9.0432)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842054 #208450
analogous
#822084 #842054 #842022
triadic
#842054 #548420 #205484
tetradic
#842054 #848220 #208450 #202284
square
#842054 #848220 #208450 #202284
split-complementary
#842054 #228420 #208482
monochromatic
#210815 #531435 #842054 #B52C73 #D34B92

Accessibility & contrast

On white

9.07
#842054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#842054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842054
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842054#FFFFFF#000000##FFFFFF
##8420541.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D55
Deuteranopia (green-blind)
#4E4F52
Tritanopia (blue-blind)
#8F1737
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842054;
/* rgb */ color: rgb(132, 32, 84);
/* oklch */ color: oklch(42.3% 0.143 353.3);
Tailwind
colors: {
  custom: {
    50: '#ac6584',
    500: '#842054',
    950: '#000000',
  },
}
SCSS
$custom: #842054;
$custom-light: #ac6584;
$custom-dark: #000000;
JSON
{
  "hex": "#842054",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 328.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.14318,
    "h": 353.3
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#842054
secondary
#4AB67E
accent
#E49144
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #842054

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

Preview Lab → · Contrast checker → · Palette generator →

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