Skip to content

#ffcfab

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

RGB
255, 207, 171
HSL
26°, 100%, 84%
CMYK
0, 19, 33, 0
Luminance
0.6883

Every format

HEX#ffcfab
RGBrgb(255, 207, 171)
HSLhsl(26, 100%, 84%)
CMYKcmyk(0%, 19%, 33%, 0%)
LABlab(86.4 12.0 24.3)
LCHlch(86.4 27.1 63.7)
OKLCHoklch(0.887 0.072 58.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcfab on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#ffcfab on black: 14.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green81.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow32.9%
Key (black)0.0%

Color previews

#ffcfab text on a black background

contrast 14.77:1

Card sample

#ffcfab text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcfab in the Color Lab