Skip to content

#780310

a deep, electric red · warm · closest name: maroon

RGB
120, 3, 16
HSL
353°, 95%, 24%
CMYK
0, 98, 87, 53
Luminance
0.0410

Every format

HEX#780310
RGBrgb(120, 3, 16)
HSLhsl(353, 95%, 24%)
CMYKcmyk(0%, 98%, 87%, 53%)
LABlab(24.0 45.6 29.0)
LCHlch(24.0 54.0 32.4)
OKLCHoklch(0.362 0.145 25.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#780310 on white: 11.54:1
AA ✓ pass · AA-large · AAA
Aa
#780310 on black: 1.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.1%
Green1.2%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta97.5%
Yellow86.7%
Key (black)52.9%

Color previews

#780310 text on a black background

contrast 1.82:1

Card sample

#780310 text on a white background

contrast 11.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(120, 3, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 3, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #780310;
background: linear-gradient(135deg, #780310, #784403);

Monochromatic scale

Palettes built from #780310

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #780310 in the Color Lab