#841B5F#841B5F

#841B5F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.155 H 346.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#841B5F
RGBrgb(132, 27, 95)
HSLhsl(321, 66%, 31%)
HSVhsv(321, 80%, 52%)
CMYKcmyk(0%, 79.5%, 28%, 48.2%)
CIE-LABlab(30.68, 49.44, -13.92)
CIE-LCHlch(30.68, 51.36, 344.27°)
OKLaboklab(42.3% 0.1503 -0.0369)
OKLCHoklch(42.3% 0.155 346.2)
XYZxyz(11.9738, 6.5170, 11.4516)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B5F #1B8440
analogous
#741B84 #841B5F #841B2A
triadic
#841B5F #5F841B #1B5F84
tetradic
#841B5F #84741B #1B8440 #1B2A84
square
#841B5F #84741B #1B8440 #1B2A84
split-complementary
#841B5F #2A841B #1B8474
monochromatic
#1E0616 #51113A #841B5F #B72584 #D841A3

Accessibility & contrast

On white

9.12
#841B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#841B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B5F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B5F#FFFFFF#000000##FFFFFF
##841B5F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#8D183B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #841b5f;
/* rgb */ color: rgb(132, 27, 95);
/* oklch */ color: oklch(42.3% 0.155 346.2);
Tailwind
colors: {
  custom: {
    50: '#ac648c',
    500: '#841b5f',
    950: '#000000',
  },
}
SCSS
$custom: #841b5f;
$custom-light: #ac648c;
$custom-dark: #000000;
JSON
{
  "hex": "#841b5f",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 321.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.15478,
    "h": 346.2
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#841B5F
secondary
#43B76C
accent
#E97B3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #841B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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