Skip to content

#f08092

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

RGB
240, 128, 146
HSL
350°, 79%, 72%
CMYK
0, 47, 39, 6
Luminance
0.3604

Every format

HEX#f08092
RGBrgb(240, 128, 146)
HSLhsl(350, 79%, 72%)
CMYKcmyk(0%, 47%, 39%, 6%)
LABlab(66.5 44.7 9.9)
LCHlch(66.5 45.8 12.6)
OKLCHoklch(0.729 0.138 10.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f08092 on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#f08092 on black: 8.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green50.2%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta46.7%
Yellow39.2%
Key (black)5.9%

Color previews

#f08092 text on a black background

contrast 8.21:1

Card sample

#f08092 text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f08092

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f08092 in the Color Lab