Skip to content

#ffb3af

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

RGB
255, 179, 175
HSL
3°, 100%, 84%
CMYK
0, 30, 31, 0
Luminance
0.5660

Every format

HEX#ffb3af
RGBrgb(255, 179, 175)
HSLhsl(3, 100%, 84%)
CMYKcmyk(0%, 30%, 31%, 0%)
LABlab(80.0 27.1 13.2)
LCHlch(80.0 30.2 25.9)
OKLCHoklch(0.838 0.089 22.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb3af on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ffb3af on black: 12.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green70.2%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta29.8%
Yellow31.4%
Key (black)0.0%

Color previews

#ffb3af text on a black background

contrast 12.32:1

Card sample

#ffb3af text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb3af in the Color Lab