Maroon Colors  ·  Color Library

Palettes / Colors / #D1312E

#D1312E — Red

#D1312E is a red color we call Red, closest to the named color Crimson (#DC143C). It belongs to the red family.

Color name

Closest CSS keyword: crimson (#DC143C) — not an exact match. CSS crimson gives you #DC143C, a different color; use #D1312E when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#D1312E is a warm red color associated with energy, passion and urgency. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #2ECED1; it also sits naturally between #D12E7D and #D1822E. In the palettes below you can see it working alongside real color combinations from our collection.

#D1312E · RGB 209, 49, 46

Download PNG swatch SVG

Color values

HEX#D1312E
RGB209, 49, 46
HSL1°, 64%, 50%
HSV1°, 78%, 82%
CMYK0%, 77%, 78%, 18%
XYZ27.89, 15.95, 4.19
Yxy15.95, 0.5806, 0.3321
CIE-Lab46.91, 61.09, 40.92
Hunter Lab39.94, 57.79, 20.31

RGB & CMYK percentages

Red 82% · Green 19% · Blue 18%

Cyan 0% · Magenta 77% · Yellow 78% · Key 18%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #D1312E on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #D1312E on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #D1312E

.text { color: #D1312E; }
.background { background-color: #D1312E; }
.border { border: 3px solid #D1312E; }
.text-rgb { color: rgb(209, 49, 46); }
.text-hsl { color: hsl(1, 64%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D1312E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(209, 49, 46, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D1312E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(209, 49, 46, 0.8); }

HTML: <p style="color:#D1312E">Text here</p> · <div style="background-color:#D1312E">Div content here</div>

Shades of #D1312E

#BC2C29#AB2826#972321#861F1D#711A19#5C1514#4B1211#360D0C#260908#110404

Tints of #D1312E

#D64543#D95654#DE6A68#E27B79#E6908E#EBA4A3#EEB5B4#F3C9C9#F7DAD9#FBEEEE

Tones of #D1312E

#C63C39#BA4745#AF5250#A25E5D#966969#8B7474

Color harmonies

Complementary — #2ECED1:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.01:1 AA
Against black text4.19:1 AA large only

Best text color on #D1312E: #FFFFFF.

Semi-transparent (opacity) text on #D1312E

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #D1312E: ·

How #D1312E looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #8C8A2FDeuteranopia · #95A12FTritanopia · #C92F2F

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind red 600 · #DC2626Bootstrap danger · #DC3545Tailwind rose 600 · #E11D48

Palettes with a similar color

These palettes use a close neighbour of #D1312E rather than the exact color:

Palette Ffd41d
#FFD41D · #FFA240 · #D73535 · #FF4646
Palette 0d92f4
#0D92F4 · #77CDFF · #F95454 · #C62E2E
Palette 003049
#003049 · #D62828 · #F77F00 · #FCBF49
Vivid Ruby Aurora
#D73C2F · #DB8547 · #E6C96A · #D7E083
Serene Harbor
#AA2CA4 · #C42D76 · #D33739 · #9A561B
Burning Aurora
#1C9AA6 · #3FABDF · #DA3425 · #E8A19F

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#D73535#C62E2E#D62828#D73C2F#D33739#DA3425#DB2D36#DC3535#CE2626#D03120#C32E2D#C62828

Browse neighbouring colors

← #D1312D  ·  #D1312F →

Frequently asked questions

What color is #D1312E?

#D1312E is Red, a red color (RGB 209, 49, 46). Its closest standard named color is Crimson.

What is the RGB and HSL of #D1312E?

#D1312E is RGB 209, 49, 46 — HSL 1°, 64%, 50% — CMYK 0%, 77%, 78%, 18%.

What colors go with #D1312E?

Its complement is #2ECED1; analogous partners are #D12E7D and #D1822E. It also appears in 6+ palettes in our collection.

Can I use #D1312E for text?

White text on #D1312E has a contrast ratio of 5.01:1 (passes WCAG AA); black text gives 4.19:1.