#540E41#540E41

#540E41 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.116 H 341.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#540E41
RGBrgb(84, 14, 65)
HSLhsl(316, 71%, 19%)
HSVhsv(316, 83%, 33%)
CMYKcmyk(0%, 83.3%, 22.6%, 67.1%)
CIE-LABlab(18.28, 36.63, -13.68)
CIE-LCHlch(18.28, 39.10, 339.53°)
OKLaboklab(31.09% 0.1099 -0.0368)
OKLCHoklch(31.09% 0.116 341.5)
XYZxyz(4.7675, 2.5810, 5.2471)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E41 #0E5421
analogous
#440E54 #540E41 #540E1E
triadic
#540E41 #41540E #0E4154
tetradic
#540E41 #54440E #0E5421 #0E1E54
square
#540E41 #54440E #0E5421 #0E1E54
split-complementary
#540E41 #1E540E #0E5444
monochromatic
#1A0414 #200518 #540E41 #88176A #BD1F92

Accessibility & contrast

On white

13.85
#540E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#540E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E41
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E41#FFFFFF#000000##FFFFFF
##540E411.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152542
Deuteranopia (green-blind)
#2B313F
Tritanopia (blue-blind)
#5A0F26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #540e41;
/* rgb */ color: rgb(84, 14, 65);
/* oklch */ color: oklch(31.1% 0.116 341.5);
Tailwind
colors: {
  custom: {
    50: '#875575',
    500: '#540e41',
    950: '#000000',
  },
}
SCSS
$custom: #540e41;
$custom-light: #875575;
$custom-dark: #000000;
JSON
{
  "hex": "#540e41",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 316.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.11593,
    "h": 341.5
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#540E41
secondary
#2F8E49
accent
#EE6B3A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #540E41

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

Preview Lab → · Contrast checker → · Palette generator →

#540E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva