#540E3C#540E3C

#540E3C is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.113 H 345.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#540E3C
RGBrgb(84, 14, 60)
HSLhsl(321, 71%, 19%)
HSVhsv(321, 83%, 33%)
CMYKcmyk(0%, 83.3%, 28.6%, 67.1%)
CIE-LABlab(18.03, 35.89, -10.56)
CIE-LCHlch(18.03, 37.41, 343.61°)
OKLaboklab(30.83% 0.109 -0.0281)
OKLCHoklch(30.83% 0.113 345.6)
XYZxyz(4.6290, 2.5257, 4.5178)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E3C #0E5426
analogous
#490E54 #540E3C #540E19
triadic
#540E3C #3C540E #0E3C54
tetradic
#540E3C #54490E #0E5426 #0E1954
square
#540E3C #54490E #0E5426 #0E1954
split-complementary
#540E3C #19540E #0E5449
monochromatic
#1A0413 #200517 #540E3C #881761 #BD1F87

Accessibility & contrast

On white

13.95
#540E3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#540E3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E3C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E3C#FFFFFF#000000##FFFFFF
##540E3C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253D
Deuteranopia (green-blind)
#2D303A
Tritanopia (blue-blind)
#5A0C23
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #540e3c;
/* rgb */ color: rgb(84, 14, 60);
/* oklch */ color: oklch(30.8% 0.113 345.6);
Tailwind
colors: {
  custom: {
    50: '#875571',
    500: '#540e3c',
    950: '#000000',
  },
}
SCSS
$custom: #540e3c;
$custom-light: #875571;
$custom-dark: #000000;
JSON
{
  "hex": "#540e3c",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 60
  },
  "hsl": {
    "h": 320.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30833,
    "c": 0.11251,
    "h": 345.6
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#540E3C
secondary
#2F8E50
accent
#EE783A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #540E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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