Skip to content

#f2b7cd

a light, vivid magenta / pink · warm · closest name: pink

RGB
242, 183, 205
HSL
338°, 69%, 83%
CMYK
0, 24, 15, 5
Luminance
0.5715

Every format

HEX#f2b7cd
RGBrgb(242, 183, 205)
HSLhsl(338, 69%, 83%)
CMYKcmyk(0%, 24%, 15%, 5%)
LABlab(80.3 24.6 -2.8)
LCHlch(80.3 24.8 353.6)
OKLCHoklch(0.839 0.073 354.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2b7cd on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#f2b7cd on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green71.8%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta24.4%
Yellow15.3%
Key (black)5.1%

Color previews

#f2b7cd text on a black background

contrast 12.43:1

Card sample

#f2b7cd text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2b7cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2b7cd in the Color Lab