HTML Entity for Kelvin Sign (K)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+212A

What Is the Kelvin Sign Entity?

Kelvin Sign (K) is the Letterlike Symbols character at Unicode U+212A (KELVIN SIGN). It is the SI unit symbol for thermodynamic temperature.

Remember
Character     K
Unicode       U+212A
Hex entity    K
Decimal       K
CSS escape    \212A
Named entity  (none)
Note          Often write plain K; never °K

All of these produce the same glyph: K (when the font supports U+212A). Prefer numeric entities in HTML; use CSS \212A only in content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Hex entityKHTML markup
Decimal entityKHTML markup
CSS escape\212AStylesheet content
Direct characterKUTF-8 HTML text
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Need the dedicated Kelvin letterlike symbolK or K
Everyday SI temperature textPlain capital K (widely recommended)
Generated text via ::before / ::aftercontent: "\212A"
UTF-8 page, typing is easyType K or K directly
Celsius / Fahrenheit with degreesUse °C / °F — not °K

Live Preview

Kelvin Sign in scientific temperature contexts.

Absolute zero 273.15 K
Large glyph K
vs plain K U+212A: K  |  Latin K: K
Label Thermodynamic temperature: K
With entities Hex: K | Decimal: K

Complete HTML Example

One page that shows Kelvin Sign with hex, decimal, CSS, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce K in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Kelvin Sign (K) in HTML</title>
  <style>
    #point::after {
      content: "\212A";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x212A;</p>
  <p>Using HTML Code: &#8490;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: K</p>
  <p>Example: 273.15 &#x212A;</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+212A → &#x212A; in HTML. The browser turns it into K.

2. Decimal: same code point as 8490 → &#8490;. Same result as hex.

3. CSS: use \212A in content (not an HTML entity). #point::after appends that K after the paragraph text.

4. Typed: in UTF-8 you can type K directly — same visual result when the font supports it.

Pitfalls & Tips

Common mistakes when working with the Kelvin Sign.

Named?

No named entity

HTML5 does not define a named entity for U+212A. Use numeric forms.

SI style

Never °K

Write K or K — not a degree sign with Kelvin. Degrees belong to °C and °F.

Compat

Plain K is fine

Many style guides prefer Latin capital K (U+004B) over U+212A for everyday text.

CSS vs HTML

Do not mix escapes

\212A belongs in CSS. &#x212A; / &#8490; belong in HTML.

Semicolon

End references

Always finish with ; — write &#8490;, not &#8490.

Fonts

Letterlike Symbols

Use fonts that include U+212A so the glyph is not missing or falling back oddly.

Browser Support

Kelvin Sign (U+212A) and its numeric entity forms (&#x212A;, &#8490;, CSS \\212A) are supported in all mainstream browsers when the font includes Letterlike Symbols.

✓ Universal support

Kelvin Sign (K)

Encode with hex, decimal, or CSS escape — same character when the font supports U+212A.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+212A / entities Full support

Bottom line: Prefer &#x212A; or &#8490; in HTML when you need U+212A. Use \\212A only inside CSS content. For simple SI copy, plain K is often enough.

Key Takeaways

  • Unicode: Kelvin sign is U+212A (decimal 8490).
  • HTML: use &#x212A; or &#8490; — no named entity.
  • CSS: use \212A inside content for generated text.
  • Style: use K/K, never °K.

One line: U+212A → &#x212A; / &#8490; / CSS \212A.

Frequently Asked Questions

Use &#x212A; (hex), &#8490; (decimal), or the CSS escape \212A in the content property. All render K when the font supports Letterlike Symbols. There is no named HTML entity.
U+212A (KELVIN SIGN). Hex 212A, decimal 8490. It belongs to the Letterlike Symbols block and is the SI unit symbol for thermodynamic temperature.
No. HTML5 does not define a named entity for U+212A. Use numeric references like &#x212A; or &#8490; when you need an entity form.
Use it in physics, chemistry, and SI temperature content (e.g. 273.15 K). For many sites a plain capital K is enough and more compatible. Prefer numeric entities when encoding must be explicit.
HTML entities (&#8490; or &#x212A;) go in markup. The CSS escape \212A is used in stylesheets (usually in the content property of ::before/::after). Both render K.
No. The kelvin unit is written as K (or K), not °K. Degree symbols belong with Celsius and Fahrenheit (°C, °F).

Did you know?

Kelvin Sign is Unicode U+212A (decimal 8490) — KELVIN SIGN. HTML5 has no named entity — use &#x212A; or &#8490;. For everyday SI text, a plain capital K (U+004B) is often preferred; do not write °K.

Next: Khmer Currency Symbol Riel

Learn the HTML entity for the Khmer riel currency symbol — next in this sequence.

Khmer Currency Symbol Riel tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful