#842749#842749

#842749 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.130 H 2.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#842749
RGBrgb(132, 39, 73)
HSLhsl(338, 54%, 34%)
HSVhsv(338, 70%, 52%)
CMYKcmyk(0%, 70.5%, 44.7%, 48.2%)
CIE-LABlab(31.44, 42.43, 1.59)
CIE-LCHlch(31.44, 42.46, 2.15°)
OKLaboklab(42.59% 0.1298 0.0046)
OKLCHoklch(42.59% 0.13 2)
XYZxyz(11.4447, 6.8390, 7.0194)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842749 #278462
analogous
#842777 #842749 #843427
triadic
#842749 #498427 #274984
tetradic
#842749 #778427 #278462 #342784
square
#842749 #778427 #278462 #342784
split-complementary
#842749 #278434 #277784
monochromatic
#260B15 #55192F #842749 #B33563 #CE5883

Accessibility & contrast

On white

8.87
#842749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#842749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842749
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842749#FFFFFF#000000##FFFFFF
##8427491.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4A
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#8F1A35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842749;
/* rgb */ color: rgb(132, 39, 73);
/* oklch */ color: oklch(42.6% 0.130 2.0);
Tailwind
colors: {
  custom: {
    50: '#ac687b',
    500: '#842749',
    950: '#000000',
  },
}
SCSS
$custom: #842749;
$custom-light: #ac687b;
$custom-dark: #000000;
JSON
{
  "hex": "#842749",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 73
  },
  "hsl": {
    "h": 338.065,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.12992,
    "h": 2
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#842749
secondary
#54B290
accent
#DEA84A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #842749

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

Preview Lab → · Contrast checker → · Palette generator →

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