#842240#842240

#842240 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.134 H 6.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#842240
RGBrgb(132, 34, 64)
HSLhsl(342, 59%, 33%)
HSVhsv(342, 74%, 52%)
CMYKcmyk(0%, 74.2%, 51.5%, 48.2%)
CIE-LABlab(30.45, 43.55, 6.12)
CIE-LCHlch(30.45, 43.97, 8.00°)
OKLaboklab(41.77% 0.1328 0.0159)
OKLCHoklch(41.77% 0.134 6.8)
XYZxyz(11.0141, 6.4212, 5.5089)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842240 #228466
analogous
#842271 #842240 #843522
triadic
#842240 #408422 #224084
tetradic
#842240 #718422 #228466 #352284
square
#842240 #718422 #228466 #352284
split-complementary
#842240 #228435 #227184
monochromatic
#230911 #531528 #842240 #B52F58 #D24F77

Accessibility & contrast

On white

9.19
#842240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#842240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842240
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842240#FFFFFF#000000##FFFFFF
##8422401.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#900E2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842240;
/* rgb */ color: rgb(132, 34, 64);
/* oklch */ color: oklch(41.8% 0.134 6.8);
Tailwind
colors: {
  custom: {
    50: '#ad6674',
    500: '#842240',
    950: '#000000',
  },
}
SCSS
$custom: #842240;
$custom-light: #ad6674;
$custom-dark: #000000;
JSON
{
  "hex": "#842240",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 341.633,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.13372,
    "h": 6.8
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#842240
secondary
#4DB595
accent
#E2B246
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #842240

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

Preview Lab → · Contrast checker → · Palette generator →

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