#541B46#541B46

#541B46 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.101 H 338.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#541B46
RGBrgb(84, 27, 70)
HSLhsl(315, 51%, 22%)
HSVhsv(315, 68%, 33%)
CMYKcmyk(0%, 67.9%, 16.7%, 67.1%)
CIE-LABlab(20.48, 31.99, -13.72)
CIE-LCHlch(20.48, 34.80, 336.79°)
OKLaboklab(32.78% 0.0944 -0.037)
OKLCHoklch(32.78% 0.101 338.6)
XYZxyz(5.1537, 3.1113, 6.1223)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B46 #1B5429
analogous
#461B54 #541B46 #541B2A
triadic
#541B46 #46541B #1B4654
tetradic
#541B46 #54461B #1B5429 #1B2A54
square
#541B46 #54461B #1B5429 #1B2A54
split-complementary
#541B46 #2A541B #1B5446
monochromatic
#170713 #260C1F #541B46 #822A6D #B13993

Accessibility & contrast

On white

12.95
#541B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#541B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B46
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B46#FFFFFF#000000##FFFFFF
##541B461.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C47
Deuteranopia (green-blind)
#2F3545
Tritanopia (blue-blind)
#591D2D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541b46;
/* rgb */ color: rgb(84, 27, 70);
/* oklch */ color: oklch(32.8% 0.101 338.6);
Tailwind
colors: {
  custom: {
    50: '#865c79',
    500: '#541b46',
    950: '#000000',
  },
}
SCSS
$custom: #541b46;
$custom-light: #865c79;
$custom-dark: #000000;
JSON
{
  "hex": "#541b46",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 314.737,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.10139,
    "h": 338.6
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#541B46
secondary
#418A53
accent
#DB704D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #541B46

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

Preview Lab → · Contrast checker → · Palette generator →

#541B46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva