#842147#842147

#842147 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.137 H 1.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#842147
RGBrgb(132, 33, 71)
HSLhsl(337, 60%, 32%)
HSVhsv(337, 75%, 52%)
CMYKcmyk(0%, 75%, 46.2%, 48.2%)
CIE-LABlab(30.52, 44.60, 1.58)
CIE-LCHlch(30.52, 44.63, 2.03°)
OKLaboklab(41.89% 0.1367 0.0046)
OKLCHoklch(41.89% 0.137 1.9)
XYZxyz(11.1978, 6.4496, 6.6153)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842147 #21845E
analogous
#842178 #842147 #842D21
triadic
#842147 #478421 #214784
tetradic
#842147 #788421 #21845E #2D2184
square
#842147 #788421 #21845E #2D2184
split-complementary
#842147 #21842D #217884
monochromatic
#220912 #53152D #842147 #B52D61 #D24D80

Accessibility & contrast

On white

9.17
#842147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#842147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842147
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842147#FFFFFF#000000##FFFFFF
##8421471.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#901031
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842147;
/* rgb */ color: rgb(132, 33, 71);
/* oklch */ color: oklch(41.9% 0.137 1.9);
Tailwind
colors: {
  custom: {
    50: '#ac657a',
    500: '#842147',
    950: '#000000',
  },
}
SCSS
$custom: #842147;
$custom-light: #ac657a;
$custom-dark: #000000;
JSON
{
  "hex": "#842147",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 336.97,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.13675,
    "h": 1.9
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#842147
secondary
#4BB68D
accent
#E3A645
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #842147

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

Preview Lab → · Contrast checker → · Palette generator →

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