Skip to content

#f2c0ba

a light, vivid red · warm · closest name: pink

RGB
242, 192, 186
HSL
6°, 68%, 84%
CMYK
0, 21, 23, 5
Luminance
0.6012

Every format

HEX#f2c0ba
RGBrgb(242, 192, 186)
HSLhsl(6, 68%, 84%)
CMYKcmyk(0%, 21%, 23%, 5%)
LABlab(81.9 17.0 9.8)
LCHlch(81.9 19.6 30.1)
OKLCHoklch(0.851 0.058 26.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2c0ba on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#f2c0ba on black: 13.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green75.3%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta20.7%
Yellow23.1%
Key (black)5.1%

Color previews

#f2c0ba text on a black background

contrast 13.02:1

Card sample

#f2c0ba text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2c0ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2c0ba in the Color Lab