#841A42#841A42

#841A42 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.143 H 3.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#841A42
RGBrgb(132, 26, 66)
HSLhsl(337, 67%, 31%)
HSVhsv(337, 80%, 52%)
CMYKcmyk(0%, 80.3%, 50%, 48.2%)
CIE-LABlab(29.51, 46.53, 3.45)
CIE-LCHlch(29.51, 46.65, 4.24°)
OKLaboklab(41.1% 0.1425 0.0093)
OKLCHoklch(41.1% 0.143 3.7)
XYZxyz(10.8694, 6.0392, 5.7465)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841A42 #1A845C
analogous
#841A77 #841A42 #84271A
triadic
#841A42 #42841A #1A4284
tetradic
#841A42 #77841A #1A845C #271A84
square
#841A42 #77841A #1A845C #271A84
split-complementary
#841A42 #1A8427 #1A7784
monochromatic
#1E060F #511028 #841A42 #B7245C #D93F79

Accessibility & contrast

On white

9.51
#841A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#841A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841A42
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841A42#FFFFFF#000000##FFFFFF
##841A421.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#90002C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #841a42;
/* rgb */ color: rgb(132, 26, 66);
/* oklch */ color: oklch(41.1% 0.143 3.7);
Tailwind
colors: {
  custom: {
    50: '#ad6276',
    500: '#841a42',
    950: '#000000',
  },
}
SCSS
$custom: #841a42;
$custom-light: #ad6276;
$custom-dark: #000000;
JSON
{
  "hex": "#841a42",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 337.358,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.14284,
    "h": 3.7
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#841A42
secondary
#42B88B
accent
#EAA93E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #841A42

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

Preview Lab → · Contrast checker → · Palette generator →

#841A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva