#540D36#540D36

#540D36 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.5% C 0.110 H 350.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#540D36
RGBrgb(84, 13, 54)
HSLhsl(325, 73%, 19%)
HSVhsv(325, 85%, 33%)
CMYKcmyk(0%, 84.5%, 35.7%, 67.1%)
CIE-LABlab(17.64, 35.42, -6.92)
CIE-LCHlch(17.64, 36.09, 348.94°)
OKLaboklab(30.46% 0.1085 -0.018)
OKLCHoklch(30.46% 0.11 350.6)
XYZxyz(4.4662, 2.4395, 3.7250)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540D36 #0D542B
analogous
#4F0D54 #540D36 #540D13
triadic
#540D36 #36540D #0D3654
tetradic
#540D36 #544F0D #0D542B #0D1354
square
#540D36 #544F0D #0D542B #0D1354
split-complementary
#540D36 #13540D #0D544F
monochromatic
#1A0411 #1F0514 #540D36 #891558 #BE1D7A

Accessibility & contrast

On white

14.11
#540D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540D36
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540D36#FFFFFF#000000##FFFFFF
##540D361.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2337
Deuteranopia (green-blind)
#2E3034
Tritanopia (blue-blind)
#5B0720
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #540d36;
/* rgb */ color: rgb(84, 13, 54);
/* oklch */ color: oklch(30.5% 0.110 350.6);
Tailwind
colors: {
  custom: {
    50: '#88556d',
    500: '#540d36',
    950: '#000000',
  },
}
SCSS
$custom: #540d36;
$custom-light: #88556d;
$custom-dark: #000000;
JSON
{
  "hex": "#540d36",
  "rgb": {
    "r": 84,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 325.352,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30459,
    "c": 0.10996,
    "h": 350.6
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#540D36
secondary
#2E8F57
accent
#F08638
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #540D36

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

Preview Lab → · Contrast checker → · Palette generator →

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