#842555#842555

#842555 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.137 H 353.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#842555
RGBrgb(132, 37, 85)
HSLhsl(330, 56%, 33%)
HSVhsv(330, 72%, 52%)
CMYKcmyk(0%, 72%, 35.6%, 48.2%)
CIE-LABlab(31.55, 44.62, -6.10)
CIE-LCHlch(31.55, 45.03, 352.21°)
OKLaboklab(42.8% 0.1365 -0.0156)
OKLCHoklch(42.8% 0.137 353.5)
XYZxyz(11.8177, 6.8859, 9.2993)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842555 #258454
analogous
#832584 #842555 #842526
triadic
#842555 #558425 #255584
tetradic
#842555 #848325 #258454 #252684
square
#842555 #848325 #258454 #252684
split-complementary
#842555 #268425 #258483
monochromatic
#240A17 #541836 #842555 #B43274 #CF5492

Accessibility & contrast

On white

8.83
#842555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#842555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842555
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842555#FFFFFF#000000##FFFFFF
##8425551.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F56
Deuteranopia (green-blind)
#505153
Tritanopia (blue-blind)
#8E1D39
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842555;
/* rgb */ color: rgb(132, 37, 85);
/* oklch */ color: oklch(42.8% 0.137 353.5);
Tailwind
colors: {
  custom: {
    50: '#ac6884',
    500: '#842555',
    950: '#000000',
  },
}
SCSS
$custom: #842555;
$custom-light: #ac6884;
$custom-dark: #000000;
JSON
{
  "hex": "#842555",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 85
  },
  "hsl": {
    "h": 329.684,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.13742,
    "h": 353.5
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#842555
secondary
#51B382
accent
#E09348
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #842555

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

Preview Lab → · Contrast checker → · Palette generator →

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