Skip to content

#120708

a deep, soft red · warm · closest name: black

RGB
18, 7, 8
HSL
355°, 44%, 5%
CMYK
0, 61, 56, 93
Luminance
0.0030

Every format

HEX#120708
RGBrgb(18, 7, 8)
HSLhsl(355, 44%, 5%)
CMYKcmyk(0%, 61%, 56%, 93%)
LABlab(2.7 3.5 0.8)
LCHlch(2.7 3.6 13.0)
OKLCHoklch(0.146 0.021 13.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#120708 on white: 19.82:1
AA ✓ pass · AA-large · AAA
Aa
#120708 on black: 1.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green2.7%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta61.1%
Yellow55.6%
Key (black)92.9%

Color previews

#120708 text on a black background

contrast 1.06:1

Card sample

#120708 text on a white background

contrast 19.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #120708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #120708 in the Color Lab