Skip to content

#f577a2

a light, electric magenta / pink · warm · closest name: Pale Violet Red

RGB
245, 119, 162
HSL
340°, 86%, 71%
CMYK
0, 51, 34, 4
Luminance
0.3521

At a glance

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

Hex
#f577a2
Hue
340°
magenta / pink
Saturation
86%
electric
Lightness
71%
light
Brightness
96%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3521
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.04:1
Closest name
Pale Violet Red
ΔE2000 5
Where it sits
Hue340° of 360°
Saturation86%
Lightness71%
Temperature
Warm ← → Cool28% 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#f577a2
RGBrgb(245, 119, 162)
HSLhsl(340, 86%, 71%)
CMYKcmyk(0%, 51%, 34%, 4%)
LABlab(65.9 52.6 0.1)
LCHlch(65.9 52.6 0.1)
OKLCHoklch(0.727 0.160 0.3)
Decimal16086946
Display P3color(display-p3 0.961 0.467 0.635)

Copy-ready code

/* CSS */
color: #f577a2;
background-color: #f577a2;
/* Tailwind (arbitrary) */
class="text-[#f577a2] bg-[#f577a2]"
/* SCSS */
$brand: #f577a2;
/* SwiftUI */
Color(red: 0.961, green: 0.467, blue: 0.635)
/* Android */
Color.parseColor("#f577a2")
/* Flutter */
Color(0xFFF577A2)
/* Python / OpenCV (BGR) */
(162, 119, 245)

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 #f577a2 · 8.04:1
Use #000000AAA at every size.
Aa
White text · 2.61:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.04:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f577a2 as text scores 2.61:1 on white and 8.04:1 on black.

Accessibility — WCAG contrast

Aa
#f577a2 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#f577a2 on black: 8.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B92A3
deuteranopia · #ACA99F
tritanopia · #FF6D87

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f577a2 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.

#FDF2F6
#FAE5EC
#F7C5D6
#F796B8
#f577a2
#F02E70
#E41159
#BE0E4A
#980B3B
#6E0D2E
#45081D
Base = 400Lightest = 50 · #FDF2F6Darkest = 950 · #45081D
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FAE5EC;
  --brand-200: #F7C5D6;
  --brand-300: #F796B8;
  --brand-400: #f577a2;
  --brand-500: #F02E70;
  --brand-600: #E41159;
  --brand-700: #BE0E4A;
  --brand-800: #980B3B;
  --brand-900: #6E0D2E;
  --brand-950: #45081D;
  --brand: #f577a2;
  --brand-ink: #000000;
}

Colors that work with #f577a2

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#FAF4F6
Tinted page background
Border#EDC0CF
Hairlines and dividers
Muted text#9B4B66
Captions on the surface
Accent#0AC255
Second voice, not a rival
Dark variant#77092E
Hover, pressed, headers
Light variant#FDE7EF
Selected rows, tints
Dark surface#241419
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 #f577a2

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#77F5CA
Analogous left#F577E1
Analogous right#F58B77
Split-complement 1#77F58B
Split-complement 2#77E1F5
Triadic 1#A2F577
Triadic 2#77A2F5
Tetradic#E1F577

RGB percentages

Red96.1%
Green46.7%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta51.4%
Yellow33.9%
Key (black)3.9%

Color previews

#f577a2 text on a black background

contrast 8.04:1

Card sample

#f577a2 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(245, 119, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 119, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f577a2;
background: linear-gradient(135deg, #f577a2, #F5A077);

Monochromatic scale

Palettes built from #f577a2

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.

#f577a2 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.

#f577a2, answered

What color is #f577a2?

#f577a2 is a light electric magenta / pink, closest to Pale Violet Red (ΔE2000 5). It sits at 340° on the hue wheel with 86% saturation and 71% lightness, which reads as warm.

What is the RGB value of #f577a2?

rgb(245, 119, 162) — 245 red, 119 green and 162 blue out of 255, or 96.1% / 46.7% / 63.5% by channel.

Is #f577a2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3521 and perceived brightness is 67%, so black text on it reaches 8.04:1.

Should I use black or white text on #f577a2?

Black. It scores 8.04:1 against #f577a2, versus 2.61:1 for white — AAA at any size.

What is the complementary color of #f577a2?

#77F5CA sits directly opposite on the wheel. Softer options are the split-complements #77F58B and #77E1F5, which give the same contrast with far less vibration.

What colors go well with #f577a2?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B66 for secondary text, #0AC255 as an accent and #77092E for hover and pressed states. For a palette, the analogous pair #F577E1 and #F58B77 stays calm, while #77F5CA is the loudest partner.

What is #f577a2 in CMYK for printing?

cmyk(0%, 51%, 34%, 4%). 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 #f577a2 warm or cool?

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

Work with #f577a2 in the Color Lab