#541B45#541B45

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

Color values

HEX#541B45
RGBrgb(84, 27, 69)
HSLhsl(316, 51%, 22%)
HSVhsv(316, 68%, 33%)
CMYKcmyk(0%, 67.9%, 17.9%, 67.1%)
CIE-LABlab(20.44, 31.81, -13.11)
CIE-LCHlch(20.44, 34.41, 337.61°)
OKLaboklab(32.73% 0.0942 -0.0353)
OKLCHoklch(32.73% 0.101 339.4)
XYZxyz(5.1224, 3.0988, 5.9574)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B45 #1B542A
analogous
#471B54 #541B45 #541B29
triadic
#541B45 #45541B #1B4554
tetradic
#541B45 #54471B #1B542A #1B2954
square
#541B45 #54471B #1B542A #1B2954
split-complementary
#541B45 #29541B #1B5447
monochromatic
#170713 #260C1F #541B45 #822A6B #B13991

Accessibility & contrast

On white

12.97
#541B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B45
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B45#FFFFFF#000000##FFFFFF
##541B451.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541b45;
/* rgb */ color: rgb(84, 27, 69);
/* oklch */ color: oklch(32.7% 0.101 339.4);
Tailwind
colors: {
  custom: {
    50: '#865c78',
    500: '#541b45',
    950: '#000000',
  },
}
SCSS
$custom: #541b45;
$custom-light: #865c78;
$custom-dark: #000000;
JSON
{
  "hex": "#541b45",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 315.789,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32726,
    "c": 0.10058,
    "h": 339.4
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#541B45
secondary
#418A54
accent
#DB724D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #541B45

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

Preview Lab → · Contrast checker → · Palette generator →

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