Skip to content

#f511cd

a balanced, electric magenta / pink · neutral · closest name: Magenta

RGB
245, 17, 205
HSL
311°, 92%, 51%
CMYK
0, 93, 16, 4
Luminance
0.2422

At a glance

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

Hex
#f511cd
Hue
311°
magenta / pink
Saturation
92%
electric
Lightness
51%
balanced
Brightness
96%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2422
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.84:1
Closest name
Magenta
ΔE2000 6.8
Where it sits
Hue311° of 360°
Saturation92%
Lightness51%
Temperature
Warm ← → Cool44% cool

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

Every format

HEX#f511cd
RGBrgb(245, 17, 205)
HSLhsl(311, 92%, 51%)
CMYKcmyk(0%, 93%, 16%, 4%)
LABlab(56.3 88.9 -39.1)
LCHlch(56.3 97.1 336.2)
OKLCHoklch(0.662 0.285 338.0)
Decimal16060877
Display P3color(display-p3 0.961 0.067 0.804)

Copy-ready code

/* CSS */
color: #f511cd;
background-color: #f511cd;
/* Tailwind (arbitrary) */
class="text-[#f511cd] bg-[#f511cd]"
/* SCSS */
$brand: #f511cd;
/* SwiftUI */
Color(red: 0.961, green: 0.067, blue: 0.804)
/* Android */
Color.parseColor("#f511cd")
/* Flutter */
Color(0xFFF511CD)
/* Python / OpenCV (BGR) */
(205, 17, 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 #f511cd · 5.84:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.59:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.84:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #f511cd as text scores 3.59:1 on white and 5.84:1 on black.

Accessibility — WCAG contrast

Aa
#f511cd on white: 3.59:1
AA ✗ fail · AA-large · AAA
Aa
#f511cd on black: 5.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2772D1
deuteranopia · #7C92C9
tritanopia · #FF2B7A

Color scale — 50 to 950

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

#FDF2FB
#FBE4F7
#F9C3EF
#FA93E8
#F85EDD
#F628D2
#f511cd
#C408A3
#9D0782
#71095F
#47063B
Base = 600Lightest = 50 · #FDF2FBDarkest = 950 · #47063B
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FBE4F7;
  --brand-200: #F9C3EF;
  --brand-300: #FA93E8;
  --brand-400: #F85EDD;
  --brand-500: #F628D2;
  --brand-600: #f511cd;
  --brand-700: #C408A3;
  --brand-800: #9D0782;
  --brand-900: #71095F;
  --brand-950: #47063B;
  --brand: #f511cd;
  --brand-ink: #000000;
}

Colors that work with #f511cd

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#FAF4F9
Tinted page background
Border#EDC0E5
Hairlines and dividers
Muted text#9B4B8D
Captions on the surface
Accent#13C804
Second voice, not a rival
Dark variant#7A0566
Hover, pressed, headers
Light variant#FEE7FA
Selected rows, tints
Dark surface#241422
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 #f511cd

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#11F539
Analogous left#AB11F5
Analogous right#F5115B
Split-complement 1#5BF511
Split-complement 2#11F5AB
Triadic 1#CDF511
Triadic 2#11CDF5
Tetradic#F5AB11

RGB percentages

Red96.1%
Green6.7%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta93.1%
Yellow16.3%
Key (black)3.9%

Color previews

#f511cd text on a black background

contrast 5.84:1

Card sample

#f511cd text on a white background

contrast 3.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f511cd

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.

#f511cd 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
ButtonsLinksFocus statesCharts
Print note

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

#f511cd, answered

What color is #f511cd?

#f511cd is a balanced electric magenta / pink, closest to Magenta (ΔE2000 6.8). It sits at 311° on the hue wheel with 92% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #f511cd?

rgb(245, 17, 205) — 245 red, 17 green and 205 blue out of 255, or 96.1% / 6.7% / 80.4% by channel.

Is #f511cd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2422 and perceived brightness is 59%, so black text on it reaches 5.84:1.

Should I use black or white text on #f511cd?

Black. It scores 5.84:1 against #f511cd, versus 3.59:1 for white — AA at any size.

What is the complementary color of #f511cd?

#11F539 sits directly opposite on the wheel. Softer options are the split-complements #5BF511 and #11F5AB, which give the same contrast with far less vibration.

What colors go well with #f511cd?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8D for secondary text, #13C804 as an accent and #7A0566 for hover and pressed states. For a palette, the analogous pair #AB11F5 and #F5115B stays calm, while #11F539 is the loudest partner.

What is #f511cd in CMYK for printing?

cmyk(0%, 93%, 16%, 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 #f511cd warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F5117A; nudged cooler, #CB0FF7.

Work with #f511cd in the Color Lab