#842541#842541

#842541 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.130 H 7.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#842541
RGBrgb(132, 37, 65)
HSLhsl(342, 56%, 33%)
HSVhsv(342, 72%, 52%)
CMYKcmyk(0%, 72%, 50.8%, 48.2%)
CIE-LABlab(30.91, 42.45, 6.10)
CIE-LCHlch(30.91, 42.89, 8.18°)
OKLaboklab(42.12% 0.1294 0.0159)
OKLCHoklch(42.12% 0.13 7)
XYZxyz(11.1323, 6.6118, 5.6900)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842541 #258468
analogous
#842570 #842541 #843825
triadic
#842541 #418425 #254184
tetradic
#842541 #708425 #258468 #382584
square
#842541 #708425 #258468 #382584
split-complementary
#842541 #258438 #257084
monochromatic
#240A12 #541829 #842541 #B43259 #CF5478

Accessibility & contrast

On white

9.04
#842541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#842541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842541
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842541#FFFFFF#000000##FFFFFF
##8425411.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D42
Deuteranopia (green-blind)
#54503F
Tritanopia (blue-blind)
#901430
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842541;
/* rgb */ color: rgb(132, 37, 65);
/* oklch */ color: oklch(42.1% 0.130 7.0);
Tailwind
colors: {
  custom: {
    50: '#ad6775',
    500: '#842541',
    950: '#000000',
  },
}
SCSS
$custom: #842541;
$custom-light: #ad6775;
$custom-dark: #000000;
JSON
{
  "hex": "#842541",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 342.316,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.13034,
    "h": 7
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#842541
secondary
#51B397
accent
#E0B348
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #842541

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

Preview Lab → · Contrast checker → · Palette generator →

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