#842155#842155

#842155 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.142 H 352.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#842155
RGBrgb(132, 33, 85)
HSLhsl(328, 60%, 32%)
HSVhsv(328, 75%, 52%)
CMYKcmyk(0%, 75%, 35.6%, 48.2%)
CIE-LABlab(31.00, 46.15, -6.92)
CIE-LCHlch(31.00, 46.67, 351.47°)
OKLaboklab(42.4% 0.1414 -0.0178)
OKLCHoklch(42.4% 0.142 352.8)
XYZxyz(11.7000, 6.6505, 9.2601)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842155 #218450
analogous
#822184 #842155 #842123
triadic
#842155 #558421 #215584
tetradic
#842155 #848221 #218450 #212384
square
#842155 #848221 #218450 #212384
split-complementary
#842155 #238421 #218482
monochromatic
#220916 #531535 #842155 #B52D75 #D24D93

Accessibility & contrast

On white

9.01
#842155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#842155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842155
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842155#FFFFFF#000000##FFFFFF
##8421551.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D56
Deuteranopia (green-blind)
#4E4F53
Tritanopia (blue-blind)
#8E1938
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842155;
/* rgb */ color: rgb(132, 33, 85);
/* oklch */ color: oklch(42.4% 0.142 352.8);
Tailwind
colors: {
  custom: {
    50: '#ac6684',
    500: '#842155',
    950: '#000000',
  },
}
SCSS
$custom: #842155;
$custom-light: #ac6684;
$custom-dark: #000000;
JSON
{
  "hex": "#842155",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 328.485,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.14247,
    "h": 352.8
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#842155
secondary
#4BB67E
accent
#E39045
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #842155

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

Preview Lab → · Contrast checker → · Palette generator →

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