Skip to content

#ff5cb4

a light, electric magenta / pink · warm · closest name: Hot Pink

RGB
255, 92, 180
HSL
328°, 100%, 68%
CMYK
0, 64, 29, 0
Luminance
0.3221

At a glance

Every number on this page in one read: what #ff5cb4 is made of, how bright it looks, and which way it leans.

Hex
#ff5cb4
Hue
328°
magenta / pink
Saturation
100%
electric
Lightness
68%
light
Brightness
100%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3221
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.44:1
Closest name
Hot Pink
ΔE2000 2.3
Where it sits
Hue328° of 360°
Saturation100%
Lightness68%
Temperature
Warm ← → Cool35% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ff5cb4
RGBrgb(255, 92, 180)
HSLhsl(328, 100%, 68%)
CMYKcmyk(0%, 64%, 29%, 0%)
LABlab(63.5 69.6 -13.6)
LCHlch(63.5 70.9 348.9)
OKLCHoklch(0.714 0.215 350.5)
Decimal16735412
Display P3color(display-p3 1.000 0.361 0.706)

Copy-ready code

/* CSS */
color: #ff5cb4;
background-color: #ff5cb4;
/* Tailwind (arbitrary) */
class="text-[#ff5cb4] bg-[#ff5cb4]"
/* SCSS */
$brand: #ff5cb4;
/* SwiftUI */
Color(red: 1.000, green: 0.361, blue: 0.706)
/* Android */
Color.parseColor("#ff5cb4")
/* Flutter */
Color(0xFFFF5CB4)
/* Python / OpenCV (BGR) */
(180, 92, 255)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ff5cb4 · 7.44:1
Use #000000AAA at every size.
Aa
White text · 2.82:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.44:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ff5cb4 as text scores 2.82:1 on white and 7.44:1 on black.

Accessibility — WCAG contrast

Aa
#ff5cb4 on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#ff5cb4 on black: 7.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7387B7
deuteranopia · #A1A4B0
tritanopia · #FF5480

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ff5cb4 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FEF1F8
#FCE3F1
#FCC0E0
#FF8FCB
#ff5cb4
#FF1F98
#F50084
#CC006E
#A30058
#760542
#490329
Base = 400Lightest = 50 · #FEF1F8Darkest = 950 · #490329
:root {
  --brand-50: #FEF1F8;
  --brand-100: #FCE3F1;
  --brand-200: #FCC0E0;
  --brand-300: #FF8FCB;
  --brand-400: #ff5cb4;
  --brand-500: #FF1F98;
  --brand-600: #F50084;
  --brand-700: #CC006E;
  --brand-800: #A30058;
  --brand-900: #760542;
  --brand-950: #490329;
  --brand: #ff5cb4;
  --brand-ink: #000000;
}

Colors that work with #ff5cb4

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F8
Tinted page background
Border#EDC0D8
Hairlines and dividers
Muted text#9B4B76
Captions on the surface
Accent#00CC2B
Second voice, not a rival
Dark variant#800045
Hover, pressed, headers
Light variant#FFE5F3
Selected rows, tints
Dark surface#24141D
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ff5cb4

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#5CFFA7
Analogous left#F85CFF
Analogous right#FF5C62
Split-complement 1#62FF5C
Split-complement 2#5CFFF8
Triadic 1#B4FF5C
Triadic 2#5CB4FF
Tetradic#FFF85C

RGB percentages

Red100.0%
Green36.1%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta63.9%
Yellow29.4%
Key (black)0.0%

Color previews

#ff5cb4 text on a black background

contrast 7.44:1

Card sample

#ff5cb4 text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff5cb4

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ff5cb4 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ff5cb4, answered

What color is #ff5cb4?

#ff5cb4 is a light electric magenta / pink, closest to Hot Pink (ΔE2000 2.3). It sits at 328° on the hue wheel with 100% saturation and 68% lightness, which reads as warm.

What is the RGB value of #ff5cb4?

rgb(255, 92, 180) — 255 red, 92 green and 180 blue out of 255, or 100% / 36.1% / 70.6% by channel.

Is #ff5cb4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3221 and perceived brightness is 66%, so black text on it reaches 7.44:1.

Should I use black or white text on #ff5cb4?

Black. It scores 7.44:1 against #ff5cb4, versus 2.82:1 for white — AAA at any size.

What is the complementary color of #ff5cb4?

#5CFFA7 sits directly opposite on the wheel. Softer options are the split-complements #62FF5C and #5CFFF8, which give the same contrast with far less vibration.

What colors go well with #ff5cb4?

For interface work: #FAF4F8 as the surface, #EDC0D8 for borders, #9B4B76 for secondary text, #00CC2B as an accent and #800045 for hover and pressed states. For a palette, the analogous pair #F85CFF and #FF5C62 stays calm, while #5CFFA7 is the loudest partner.

What is #ff5cb4 in CMYK for printing?

cmyk(0%, 64%, 29%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ff5cb4 warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FF5C78; nudged cooler, #FF5CF0.

Work with #ff5cb4 in the Color Lab