#842756#842756

#842756 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.135 H 353.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#842756
RGBrgb(132, 39, 86)
HSLhsl(330, 54%, 34%)
HSVhsv(330, 70%, 52%)
CMYKcmyk(0%, 70.5%, 34.8%, 48.2%)
CIE-LABlab(31.87, 43.93, -6.26)
CIE-LCHlch(31.87, 44.37, 351.89°)
OKLaboklab(43.05% 0.1343 -0.016)
OKLCHoklch(43.05% 0.135 353.2)
XYZxyz(11.9216, 7.0298, 9.5314)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842756 #278455
analogous
#832784 #842756 #842728
triadic
#842756 #568427 #275684
tetradic
#842756 #848327 #278455 #272884
square
#842756 #848327 #278455 #272884
split-complementary
#842756 #288427 #278483
monochromatic
#260B18 #551937 #842756 #B33575 #CE5893

Accessibility & contrast

On white

8.73
#842756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#842756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842756
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842756#FFFFFF#000000##FFFFFF
##8427561.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364057
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#8E203B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842756;
/* rgb */ color: rgb(132, 39, 86);
/* oklch */ color: oklch(43.1% 0.135 353.2);
Tailwind
colors: {
  custom: {
    50: '#ab6985',
    500: '#842756',
    950: '#000000',
  },
}
SCSS
$custom: #842756;
$custom-light: #ab6985;
$custom-dark: #000000;
JSON
{
  "hex": "#842756",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 329.677,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.13524,
    "h": 353.2
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#842756
secondary
#54B283
accent
#DE934A
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #842756

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

Preview Lab → · Contrast checker → · Palette generator →

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