#842847#842847

#842847 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.128 H 3.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#842847
RGBrgb(132, 40, 71)
HSLhsl(340, 53%, 34%)
HSVhsv(340, 70%, 52%)
CMYKcmyk(0%, 69.7%, 46.2%, 48.2%)
CIE-LABlab(31.53, 41.80, 3.04)
CIE-LCHlch(31.53, 41.91, 4.16°)
OKLaboklab(42.64% 0.1277 0.0083)
OKLCHoklch(42.64% 0.128 3.7)
XYZxyz(11.4127, 6.8795, 6.6869)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842847 #288465
analogous
#842875 #842847 #843728
triadic
#842847 #478428 #284784
tetradic
#842847 #758428 #288465 #372884
square
#842847 #758428 #288465 #372884
split-complementary
#842847 #288437 #287584
monochromatic
#260C14 #551A2E #842847 #B33660 #CD5A80

Accessibility & contrast

On white

8.84
#842847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842847
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842847#FFFFFF#000000##FFFFFF
##8428471.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#901B34
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842847;
/* rgb */ color: rgb(132, 40, 71);
/* oklch */ color: oklch(42.6% 0.128 3.7);
Tailwind
colors: {
  custom: {
    50: '#ac697a',
    500: '#842847',
    950: '#000000',
  },
}
SCSS
$custom: #842847;
$custom-light: #ac697a;
$custom-dark: #000000;
JSON
{
  "hex": "#842847",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 339.783,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.128,
    "h": 3.7
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#842847
secondary
#56B293
accent
#DDAC4B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #842847

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

Preview Lab → · Contrast checker → · Palette generator →

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