Skip to content

#ffc2af

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

RGB
255, 194, 175
HSL
14°, 100%, 84%
CMYK
0, 24, 31, 0
Luminance
0.6294

Every format

HEX#ffc2af
RGBrgb(255, 194, 175)
HSLhsl(14, 100%, 84%)
CMYKcmyk(0%, 24%, 31%, 0%)
LABlab(83.4 19.3 18.0)
LCHlch(83.4 26.4 43.1)
OKLCHoklch(0.864 0.075 38.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc2af on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#ffc2af on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green76.1%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta23.9%
Yellow31.4%
Key (black)0.0%

Color previews

#ffc2af text on a black background

contrast 13.59:1

Card sample

#ffc2af text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc2af in the Color Lab