#540E3D#540E3D

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

Color values

HEX#540E3D
RGBrgb(84, 14, 61)
HSLhsl(320, 71%, 19%)
HSVhsv(320, 83%, 33%)
CMYKcmyk(0%, 83.3%, 27.4%, 67.1%)
CIE-LABlab(18.08, 36.04, -11.19)
CIE-LCHlch(18.08, 37.74, 342.75°)
OKLaboklab(30.88% 0.1092 -0.0298)
OKLCHoklch(30.88% 0.113 344.7)
XYZxyz(4.6557, 2.5363, 4.6584)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E3D #0E5425
analogous
#480E54 #540E3D #540E1A
triadic
#540E3D #3D540E #0E3D54
tetradic
#540E3D #54480E #0E5425 #0E1A54
square
#540E3D #54480E #0E5425 #0E1A54
split-complementary
#540E3D #1A540E #0E5448
monochromatic
#1A0413 #200517 #540E3D #881763 #BD1F89

Accessibility & contrast

On white

13.93
#540E3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E3D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E3D#FFFFFF#000000##FFFFFF
##540E3D1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253E
Deuteranopia (green-blind)
#2C303B
Tritanopia (blue-blind)
#5A0D24
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #540e3d;
/* rgb */ color: rgb(84, 14, 61);
/* oklch */ color: oklch(30.9% 0.113 344.7);
Tailwind
colors: {
  custom: {
    50: '#875572',
    500: '#540e3d',
    950: '#000000',
  },
}
SCSS
$custom: #540e3d;
$custom-light: #875572;
$custom-dark: #000000;
JSON
{
  "hex": "#540e3d",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 61
  },
  "hsl": {
    "h": 319.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30883,
    "c": 0.11317,
    "h": 344.7
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#540E3D
secondary
#2F8E4F
accent
#EE753A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #540E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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