Skip to content

#ff9fac

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

RGB
255, 159, 172
HSL
352°, 100%, 81%
CMYK
0, 38, 33, 0
Luminance
0.4903

Every format

HEX#ff9fac
RGBrgb(255, 159, 172)
HSLhsl(352, 100%, 81%)
CMYKcmyk(0%, 38%, 33%, 0%)
LABlab(75.5 37.2 8.4)
LCHlch(75.5 38.1 12.8)
OKLCHoklch(0.803 0.115 11.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff9fac on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ff9fac on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green62.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta37.6%
Yellow32.5%
Key (black)0.0%

Color previews

#ff9fac text on a black background

contrast 10.81:1

Card sample

#ff9fac text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff9fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff9fac in the Color Lab