Skip to content

#f27380

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

RGB
242, 115, 128
HSL
354°, 83%, 70%
CMYK
0, 53, 47, 5
Luminance
0.3270

Every format

HEX#f27380
RGBrgb(242, 115, 128)
HSLhsl(354, 83%, 70%)
CMYKcmyk(0%, 53%, 47%, 5%)
LABlab(63.9 49.9 16.5)
LCHlch(63.9 52.6 18.3)
OKLCHoklch(0.708 0.156 15.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f27380 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#f27380 on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green45.1%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta52.5%
Yellow47.1%
Key (black)5.1%

Color previews

#f27380 text on a black background

contrast 7.54:1

Card sample

#f27380 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f27380

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f27380 in the Color Lab