#541C40#541C40

#541C40 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.095 H 344.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#541C40
RGBrgb(84, 28, 64)
HSLhsl(321, 50%, 22%)
HSVhsv(321, 67%, 33%)
CMYKcmyk(0%, 66.7%, 23.8%, 67.1%)
CIE-LABlab(20.39, 30.48, -9.75)
CIE-LCHlch(20.39, 32.00, 342.27°)
OKLaboklab(32.61% 0.0914 -0.0259)
OKLCHoklch(32.61% 0.095 344.2)
XYZxyz(4.9970, 3.0860, 5.1820)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C40 #1C5430
analogous
#4C1C54 #541C40 #541C24
triadic
#541C40 #40541C #1C4054
tetradic
#541C40 #544C1C #1C5430 #1C2454
square
#541C40 #544C1C #1C5430 #1C2454
split-complementary
#541C40 #24541C #1C544C
monochromatic
#170811 #260D1D #541C40 #822B63 #B03B86

Accessibility & contrast

On white

12.99
#541C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C40
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C40#FFFFFF#000000##FFFFFF
##541C401.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#31353F
Tritanopia (blue-blind)
#5A1C2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541c40;
/* rgb */ color: rgb(84, 28, 64);
/* oklch */ color: oklch(32.6% 0.095 344.2);
Tailwind
colors: {
  custom: {
    50: '#865c74',
    500: '#541c40',
    950: '#000000',
  },
}
SCSS
$custom: #541c40;
$custom-light: #865c74;
$custom-dark: #000000;
JSON
{
  "hex": "#541c40",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 321.429,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32613,
    "c": 0.09503,
    "h": 344.2
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#541C40
secondary
#428A5C
accent
#DA804E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #541C40

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

Preview Lab → · Contrast checker → · Palette generator →

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