Skip to content

#f082d2

a light, electric magenta / pink · warm · closest name: orchid

RGB
240, 130, 210
HSL
316°, 79%, 73%
CMYK
0, 46, 13, 6
Luminance
0.3914

Every format

HEX#f082d2
RGBrgb(240, 130, 210)
HSLhsl(316, 79%, 73%)
CMYKcmyk(0%, 46%, 13%, 6%)
LABlab(68.9 52.3 -22.6)
LCHlch(68.9 57.0 336.6)
OKLCHoklch(0.753 0.164 338.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f082d2 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#f082d2 on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green51.0%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta45.8%
Yellow12.5%
Key (black)5.9%

Color previews

#f082d2 text on a black background

contrast 8.83:1

Card sample

#f082d2 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f082d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f082d2 in the Color Lab