#540D37#540D37

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

Color values

HEX#540D37
RGBrgb(84, 13, 55)
HSLhsl(325, 73%, 19%)
HSVhsv(325, 85%, 33%)
CMYKcmyk(0%, 84.5%, 34.5%, 67.1%)
CIE-LABlab(17.69, 35.55, -7.56)
CIE-LCHlch(17.69, 36.34, 347.99°)
OKLaboklab(30.51% 0.1088 -0.0198)
OKLCHoklch(30.51% 0.111 349.7)
XYZxyz(4.4899, 2.4490, 3.8500)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540D37 #0D542A
analogous
#4E0D54 #540D37 #540D14
triadic
#540D37 #37540D #0D3754
tetradic
#540D37 #544E0D #0D542A #0D1454
square
#540D37 #544E0D #0D542A #0D1454
split-complementary
#540D37 #14540D #0D544E
monochromatic
#1A0411 #1F0514 #540D37 #89155A #BE1D7C

Accessibility & contrast

On white

14.10
#540D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540D37
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540D37#FFFFFF#000000##FFFFFF
##540D371.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192338
Deuteranopia (green-blind)
#2E3035
Tritanopia (blue-blind)
#5B0820
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #540d37;
/* rgb */ color: rgb(84, 13, 55);
/* oklch */ color: oklch(30.5% 0.111 349.7);
Tailwind
colors: {
  custom: {
    50: '#88556d',
    500: '#540d37',
    950: '#000000',
  },
}
SCSS
$custom: #540d37;
$custom-light: #88556d;
$custom-dark: #000000;
JSON
{
  "hex": "#540d37",
  "rgb": {
    "r": 84,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 324.507,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30505,
    "c": 0.11054,
    "h": 349.7
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#540D37
secondary
#2E8F56
accent
#F08338
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #540D37

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

Preview Lab → · Contrast checker → · Palette generator →

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