Skip to content

#d23c2f

a balanced, vivid red · warm · closest name: firebrick

RGB
210, 60, 47
HSL
5°, 64%, 50%
CMYK
0, 71, 78, 18
Luminance
0.1714

Every format

HEX#d23c2f
RGBrgb(210, 60, 47)
HSLhsl(5, 64%, 50%)
CMYKcmyk(0%, 71%, 78%, 18%)
LABlab(48.4 57.7 42.0)
LCHlch(48.4 71.4 36.1)
OKLCHoklch(0.578 0.189 29.2)

Copy-ready code

/* CSS */
color: #d23c2f;
background-color: #d23c2f;
/* Tailwind (arbitrary) */
class="text-[#d23c2f] bg-[#d23c2f]"
/* SCSS */
$brand: #d23c2f;
/* SwiftUI */
Color(red: 0.824, green: 0.235, blue: 0.184)
/* Android */
Color.parseColor("#d23c2f")

Accessibility — WCAG contrast

Aa
#d23c2f on white: 4.74:1
AA ✓ pass · AA-large · AAA
Aa
#d23c2f on black: 4.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green23.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta71.4%
Yellow77.6%
Key (black)17.6%

Color previews

#d23c2f text on a black background

contrast 4.43:1

Card sample

#d23c2f text on a white background

contrast 4.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d23c2f;
Background color
Panel with #d23c2f background
background-color: #d23c2f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d23c2f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(210, 60, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 60, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d23c2f;
background: linear-gradient(135deg, #d23c2f, #D2A92F);

Monochromatic scale

Palettes built from #d23c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d23c2f in the Color Lab