#841B5B#841B5B

#841B5B is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.152 H 348.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#841B5B
RGBrgb(132, 27, 91)
HSLhsl(323, 66%, 31%)
HSVhsv(323, 80%, 52%)
CMYKcmyk(0%, 79.5%, 31.1%, 48.2%)
CIE-LABlab(30.51, 48.93, -11.58)
CIE-LCHlch(30.51, 50.28, 346.69°)
OKLaboklab(42.12% 0.1494 -0.0304)
OKLCHoklch(42.12% 0.152 348.5)
XYZxyz(11.7966, 6.4461, 10.5185)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B5B #1B8444
analogous
#781B84 #841B5B #841B26
triadic
#841B5B #5B841B #1B5B84
tetradic
#841B5B #84781B #1B8444 #1B2684
square
#841B5B #84781B #1B8444 #1B2684
split-complementary
#841B5B #26841B #1B8478
monochromatic
#1E0615 #511138 #841B5B #B7257E #D8419D

Accessibility & contrast

On white

9.17
#841B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841B5B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B5B#FFFFFF#000000##FFFFFF
##841B5B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#4B4E59
Tritanopia (blue-blind)
#8E1539
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #841b5b;
/* rgb */ color: rgb(132, 27, 91);
/* oklch */ color: oklch(42.1% 0.152 348.5);
Tailwind
colors: {
  custom: {
    50: '#ac6489',
    500: '#841b5b',
    950: '#000000',
  },
}
SCSS
$custom: #841b5b;
$custom-light: #ac6489;
$custom-dark: #000000;
JSON
{
  "hex": "#841b5b",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 323.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.15247,
    "h": 348.5
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#841B5B
secondary
#43B771
accent
#E9813F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #841B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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