#541A40#541A40

#541A40 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.098 H 343.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#541A40
RGBrgb(84, 26, 64)
HSLhsl(321, 53%, 22%)
HSVhsv(321, 69%, 33%)
CMYKcmyk(0%, 69%, 23.8%, 67.1%)
CIE-LABlab(20.02, 31.47, -10.30)
CIE-LCHlch(20.02, 33.12, 341.87°)
OKLaboklab(32.35% 0.0945 -0.0274)
OKLCHoklch(32.35% 0.098 343.8)
XYZxyz(4.9511, 2.9942, 5.1667)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A40 #1A542E
analogous
#4B1A54 #541A40 #541A23
triadic
#541A40 #40541A #1A4054
tetradic
#541A40 #544B1A #1A542E #1A2354
square
#541A40 #544B1A #1A542E #1A2354
split-complementary
#541A40 #23541A #1A544B
monochromatic
#170712 #250C1C #541A40 #832864 #B13787

Accessibility & contrast

On white

13.13
#541A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541A40
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A40#FFFFFF#000000##FFFFFF
##541A401.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#5A1A2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541a40;
/* rgb */ color: rgb(84, 26, 64);
/* oklch */ color: oklch(32.3% 0.098 343.8);
Tailwind
colors: {
  custom: {
    50: '#865b74',
    500: '#541a40',
    950: '#000000',
  },
}
SCSS
$custom: #541a40;
$custom-light: #865b74;
$custom-dark: #000000;
JSON
{
  "hex": "#541a40",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 320.69,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32345,
    "c": 0.09836,
    "h": 343.8
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#541A40
secondary
#408A59
accent
#DC7D4C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #541A40

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

Preview Lab → · Contrast checker → · Palette generator →

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