#841E52#841E52

#841E52 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.145 H 354.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#841E52
RGBrgb(132, 30, 82)
HSLhsl(329, 63%, 32%)
HSVhsv(329, 77%, 52%)
CMYKcmyk(0%, 77.3%, 37.9%, 48.2%)
CIE-LABlab(30.51, 46.86, -5.69)
CIE-LCHlch(30.51, 47.21, 353.08°)
OKLaboklab(42% 0.1438 -0.0144)
OKLCHoklch(42% 0.145 354.3)
XYZxyz(11.5037, 6.4447, 8.6192)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E52 #1E8450
analogous
#831E84 #841E52 #841E1F
triadic
#841E52 #52841E #1E5284
tetradic
#841E52 #84831E #1E8450 #1E1F84
square
#841E52 #84831E #1E8450 #1E1F84
split-complementary
#841E52 #1F841E #1E8483
monochromatic
#200714 #521333 #841E52 #B62971 #D54790

Accessibility & contrast

On white

9.18
#841E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#841E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E52
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E52#FFFFFF#000000##FFFFFF
##841E521.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4E4F50
Tritanopia (blue-blind)
#8F1335
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #841e52;
/* rgb */ color: rgb(132, 30, 82);
/* oklch */ color: oklch(42.0% 0.145 354.3);
Tailwind
colors: {
  custom: {
    50: '#ac6482',
    500: '#841e52',
    950: '#000000',
  },
}
SCSS
$custom: #841e52;
$custom-light: #ac6482;
$custom-dark: #000000;
JSON
{
  "hex": "#841e52",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 329.412,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42,
    "c": 0.14455,
    "h": 354.3
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#841E52
secondary
#47B77E
accent
#E69242
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #841E52

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

Preview Lab → · Contrast checker → · Palette generator →

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