Skip to content

#f0caca

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

RGB
240, 202, 202
HSL
0°, 56%, 87%
CMYK
0, 16, 16, 6
Luminance
0.6503

Every format

HEX#f0caca
RGBrgb(240, 202, 202)
HSLhsl(0, 56%, 87%)
CMYKcmyk(0%, 16%, 16%, 6%)
LABlab(84.5 13.4 5.0)
LCHlch(84.5 14.3 20.5)
OKLCHoklch(0.872 0.043 18.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0caca on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#f0caca on black: 14.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green79.2%
Blue79.2%

CMYK percentages

Cyan0.0%
Magenta15.8%
Yellow15.8%
Key (black)5.9%

Color previews

#f0caca text on a black background

contrast 14.01:1

Card sample

#f0caca text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0caca

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0caca in the Color Lab