Skip to content

#ffc0ba

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

RGB
255, 192, 186
HSL
5°, 100%, 87%
CMYK
0, 25, 27, 0
Luminance
0.6250

Every format

HEX#ffc0ba
RGBrgb(255, 192, 186)
HSLhsl(5, 100%, 87%)
CMYKcmyk(0%, 25%, 27%, 0%)
LABlab(83.2 21.8 11.8)
LCHlch(83.2 24.8 28.6)
OKLCHoklch(0.863 0.073 24.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc0ba on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#ffc0ba on black: 13.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green75.3%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta24.7%
Yellow27.1%
Key (black)0.0%

Color previews

#ffc0ba text on a black background

contrast 13.50:1

Card sample

#ffc0ba text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc0ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc0ba in the Color Lab