#842856#842856

#842856 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.134 H 353.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#842856
RGBrgb(132, 40, 86)
HSLhsl(330, 53%, 34%)
HSVhsv(330, 70%, 52%)
CMYKcmyk(0%, 69.7%, 34.8%, 48.2%)
CIE-LABlab(32.03, 43.51, -6.04)
CIE-LCHlch(32.03, 43.93, 352.10°)
OKLaboklab(43.16% 0.133 -0.0154)
OKLCHoklch(43.16% 0.134 353.4)
XYZxyz(11.9549, 7.0964, 9.5425)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842856 #288456
analogous
#842884 #842856 #842828
triadic
#842856 #568428 #285684
tetradic
#842856 #848428 #288456 #282884
square
#842856 #848428 #288456 #282884
split-complementary
#842856 #288428 #288484
monochromatic
#260C19 #551A37 #842856 #B33675 #CD5A93

Accessibility & contrast

On white

8.68
#842856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#842856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842856
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842856#FFFFFF#000000##FFFFFF
##8428561.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374157
Deuteranopia (green-blind)
#515154
Tritanopia (blue-blind)
#8E213B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842856;
/* rgb */ color: rgb(132, 40, 86);
/* oklch */ color: oklch(43.2% 0.134 353.4);
Tailwind
colors: {
  custom: {
    50: '#ab6985',
    500: '#842856',
    950: '#000000',
  },
}
SCSS
$custom: #842856;
$custom-light: #ab6985;
$custom-dark: #000000;
JSON
{
  "hex": "#842856",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 330,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43162,
    "c": 0.13388,
    "h": 353.4
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#842856
secondary
#56B284
accent
#DD944B
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #842856

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

Preview Lab → · Contrast checker → · Palette generator →

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