#541A42#541A42

#541A42 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.100 H 342.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#541A42
RGBrgb(84, 26, 66)
HSLhsl(319, 53%, 22%)
HSVhsv(319, 69%, 33%)
CMYKcmyk(0%, 69%, 21.4%, 67.1%)
CIE-LABlab(20.11, 31.80, -11.54)
CIE-LCHlch(20.11, 33.83, 340.05°)
OKLaboklab(32.44% 0.095 -0.0309)
OKLCHoklch(32.44% 0.1 342)
XYZxyz(5.0091, 3.0174, 5.4718)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A42 #1A542C
analogous
#491A54 #541A42 #541A25
triadic
#541A42 #42541A #1A4254
tetradic
#541A42 #54491A #1A542C #1A2554
square
#541A42 #54491A #1A542C #1A2554
split-complementary
#541A42 #25541A #1A5449
monochromatic
#170712 #250C1D #541A42 #832867 #B1378B

Accessibility & contrast

On white

13.10
#541A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#541A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A42
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A42#FFFFFF#000000##FFFFFF
##541A421.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B43
Deuteranopia (green-blind)
#303441
Tritanopia (blue-blind)
#591B2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541a42;
/* rgb */ color: rgb(84, 26, 66);
/* oklch */ color: oklch(32.4% 0.100 342.0);
Tailwind
colors: {
  custom: {
    50: '#865b76',
    500: '#541a42',
    950: '#000000',
  },
}
SCSS
$custom: #541a42;
$custom-light: #865b76;
$custom-dark: #000000;
JSON
{
  "hex": "#541a42",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 318.621,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32443,
    "c": 0.09985,
    "h": 342
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#541A42
secondary
#408A57
accent
#DC784C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #541A42

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

Preview Lab → · Contrast checker → · Palette generator →

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