#842041#842041

#842041 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.136 H 5.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#842041
RGBrgb(132, 32, 65)
HSLhsl(340, 61%, 32%)
HSVhsv(340, 76%, 52%)
CMYKcmyk(0%, 75.8%, 50.8%, 48.2%)
CIE-LABlab(30.21, 44.39, 5.11)
CIE-LCHlch(30.21, 44.68, 6.57°)
OKLaboklab(41.6% 0.1356 0.0134)
OKLCHoklch(41.6% 0.136 5.7)
XYZxyz(10.9873, 6.3217, 5.6416)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842041 #208463
analogous
#842073 #842041 #843120
triadic
#842041 #418420 #204184
tetradic
#842041 #738420 #208463 #312084
square
#842041 #738420 #208463 #312084
split-complementary
#842041 #208431 #207384
monochromatic
#210810 #531429 #842041 #B52C59 #D34B78

Accessibility & contrast

On white

9.28
#842041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#842041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842041
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842041#FFFFFF#000000##FFFFFF
##8420411.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B42
Deuteranopia (green-blind)
#524E3F
Tritanopia (blue-blind)
#900A2E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842041;
/* rgb */ color: rgb(132, 32, 65);
/* oklch */ color: oklch(41.6% 0.136 5.7);
Tailwind
colors: {
  custom: {
    50: '#ad6575',
    500: '#842041',
    950: '#000000',
  },
}
SCSS
$custom: #842041;
$custom-light: #ad6575;
$custom-dark: #000000;
JSON
{
  "hex": "#842041",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 340.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.13623,
    "h": 5.7
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#842041
secondary
#4AB692
accent
#E4AF44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #842041

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

Preview Lab → · Contrast checker → · Palette generator →

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