| Symbol Name | Black Heart |
| Unicode Version | 3.0 |
| Unicode | U+1F5A4 |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \1F5A4 |
| Hex Code | 0x1F5A4 |
| HTML Code | 🖤 |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | 🖤 |
| URL encode (UTF-8 percent) | %F0%9F%96%A4 |
| Discord / Slack shortcode | :black_heart: |
| GitHub shortcode | :black_heart: |
| Spoken / screen reader name | Black Heart |
| UTF-8 | F0 9F 96 A4 |
| UTF-16 | D83D DDA4 |
| UTF-32 | 0001F5A4 |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the black heart symbol on most modern devices with the help of following methods:
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Hearts in emoji keyboard.
Edit → Emoji & Symbols, search "black heart".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Smileys, Hearts, or search "black heart".
Emoji keyboard → Hearts; search "black heart".
1span.black-heart::before { content: "\1F5A4"; } /* prefer inline grapheme for ZWJ */1<span>🖤</span>Black Heart symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\uD83D\uDDA4' or String.fromCodePoint(0x1F5A4) |
| Python | '\N{BLACK HEART}' |
| Rust | '\u{1F5A4}' |
| Swift | "\u{1F5A4}" |
| Go | string(rune(0x1F5A4)) |
| Ruby | "\u{1F5A4}" |