#540E36#540E36

#540E36 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.109 H 350.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#540E36
RGBrgb(84, 14, 54)
HSLhsl(326, 71%, 19%)
HSVhsv(326, 83%, 33%)
CMYKcmyk(0%, 83.3%, 35.7%, 67.1%)
CIE-LABlab(17.76, 35.07, -6.74)
CIE-LCHlch(17.76, 35.71, 349.12°)
OKLaboklab(30.55% 0.1074 -0.0175)
OKLCHoklch(30.55% 0.109 350.7)
XYZxyz(4.4793, 2.4658, 3.7294)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E36 #0E542C
analogous
#4F0E54 #540E36 #540E13
triadic
#540E36 #36540E #0E3654
tetradic
#540E36 #544F0E #0E542C #0E1354
square
#540E36 #544F0E #0E542C #0E1354
split-complementary
#540E36 #13540E #0E544F
monochromatic
#1A0411 #200514 #540E36 #881758 #BD1F79

Accessibility & contrast

On white

14.07
#540E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#540E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E36
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E36#FFFFFF#000000##FFFFFF
##540E361.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2437
Deuteranopia (green-blind)
#2F3034
Tritanopia (blue-blind)
#5B0920
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #540e36;
/* rgb */ color: rgb(84, 14, 54);
/* oklch */ color: oklch(30.5% 0.109 350.7);
Tailwind
colors: {
  custom: {
    50: '#88556d',
    500: '#540e36',
    950: '#000000',
  },
}
SCSS
$custom: #540e36;
$custom-light: #88556d;
$custom-dark: #000000;
JSON
{
  "hex": "#540e36",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 325.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30547,
    "c": 0.10883,
    "h": 350.7
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#540E36
secondary
#2F8E58
accent
#EE873A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #540E36

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

Preview Lab → · Contrast checker → · Palette generator →

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