Skip to content

#f27872

a light, electric red · warm · closest name: salmon

RGB
242, 120, 114
HSL
3°, 83%, 70%
CMYK
0, 50, 53, 5
Luminance
0.3353

Every format

HEX#f27872
RGBrgb(242, 120, 114)
HSLhsl(3, 83%, 70%)
CMYKcmyk(0%, 50%, 53%, 5%)
LABlab(64.6 46.3 25.4)
LCHlch(64.6 52.8 28.7)
OKLCHoklch(0.712 0.151 24.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f27872 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#f27872 on black: 7.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green47.1%
Blue44.7%

CMYK percentages

Cyan0.0%
Magenta50.4%
Yellow52.9%
Key (black)5.1%

Color previews

#f27872 text on a black background

contrast 7.71:1

Card sample

#f27872 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f27872

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f27872 in the Color Lab