Skip to content

#ffcab2

a light, electric orange · warm · closest name: tan

RGB
255, 202, 178
HSL
19°, 100%, 85%
CMYK
0, 21, 30, 0
Luminance
0.6672

Every format

HEX#ffcab2
RGBrgb(255, 202, 178)
HSLhsl(19, 100%, 85%)
CMYKcmyk(0%, 21%, 30%, 0%)
LABlab(85.4 15.5 19.1)
LCHlch(85.4 24.6 51.0)
OKLCHoklch(0.880 0.069 45.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcab2 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#ffcab2 on black: 14.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green79.2%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow30.2%
Key (black)0.0%

Color previews

#ffcab2 text on a black background

contrast 14.34:1

Card sample

#ffcab2 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcab2 in the Color Lab