Skip to content

#ffb1af

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

RGB
255, 177, 175
HSL
2°, 100%, 84%
CMYK
0, 31, 31, 0
Luminance
0.5580

Every format

HEX#ffb1af
RGBrgb(255, 177, 175)
HSLhsl(2, 100%, 84%)
CMYKcmyk(0%, 31%, 31%, 0%)
LABlab(79.5 28.2 12.5)
LCHlch(79.5 30.9 24.0)
OKLCHoklch(0.834 0.092 20.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb1af on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#ffb1af on black: 12.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green69.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta30.6%
Yellow31.4%
Key (black)0.0%

Color previews

#ffb1af text on a black background

contrast 12.16:1

Card sample

#ffb1af text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb1af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb1af in the Color Lab