#D51A1B
Color Details
HEX
#D51A1B
RGB
rgb(213, 26, 27)
HSL
hsl(360, 78%, 47%)
CMYK
cmyk(0%, 88%, 87%, 16%)
Best text on this color
#FFFFFF (CR 5.26:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #D51A1B
#D51A1B converts to RGB(213, 26, 27) and HSL(360, 78%, 47%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#D51A1B FAQs
What is the RGB value of #D51A1B?
RGB: 213, 26, 27. Copy as CSS:
rgb(213, 26, 27)
Is #D51A1B a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #D51A1B?
Complement: #1ad5d5.
Does #D51A1B have good contrast on white or black?
On white: 5.26:1 (AA (normal text)).
On black: 3.99:1 (AA (large text)).