#842857#842857

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

Color values

HEX#842857
RGBrgb(132, 40, 87)
HSLhsl(329, 53%, 34%)
HSVhsv(329, 70%, 52%)
CMYKcmyk(0%, 69.7%, 34.1%, 48.2%)
CIE-LABlab(32.06, 43.64, -6.63)
CIE-LCHlch(32.06, 44.14, 351.36°)
OKLaboklab(43.2% 0.1333 -0.017)
OKLCHoklch(43.2% 0.134 352.7)
XYZxyz(11.9955, 7.1126, 9.7561)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842857 #288455
analogous
#832884 #842857 #842829
triadic
#842857 #578428 #285784
tetradic
#842857 #848328 #288455 #282984
square
#842857 #848328 #288455 #282984
split-complementary
#842857 #298428 #288483
monochromatic
#260C19 #551A38 #842857 #B33676 #CD5A94

Accessibility & contrast

On white

8.67
#842857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842857
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842857#FFFFFF#000000##FFFFFF
##8428571.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#515255
Tritanopia (blue-blind)
#8E223C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842857;
/* rgb */ color: rgb(132, 40, 87);
/* oklch */ color: oklch(43.2% 0.134 352.7);
Tailwind
colors: {
  custom: {
    50: '#ab6986',
    500: '#842857',
    950: '#000000',
  },
}
SCSS
$custom: #842857;
$custom-light: #ab6986;
$custom-dark: #000000;
JSON
{
  "hex": "#842857",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 329.348,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.13438,
    "h": 352.7
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#842857
secondary
#56B283
accent
#DD924B
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #842857

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

Preview Lab → · Contrast checker → · Palette generator →

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