Skip to content

#fd0cff

a balanced, electric magenta / pink · neutral · “Magenta”

RGB
253, 12, 255
HSL
300°, 100%, 52%
CMYK
1, 95, 0, 0
Luminance
0.2837

At a glance

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

Hex
#fd0cff
Hue
300°
magenta / pink
Saturation
100%
electric
Lightness
52%
balanced
Brightness
100%
HSV value
Perceived
64%
weighted brightness
Luminance
0.2837
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.67:1
Closest name
Magenta
ΔE2000 0.3
Where it sits
Hue300° of 360°
Saturation100%
Lightness52%
Temperature
Warm ← → Cool50% 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#fd0cff
RGBrgb(253, 12, 255)
HSLhsl(300, 100%, 52%)
CMYKcmyk(1%, 95%, 0%, 0%)
LABlab(60.2 97.2 -61.0)
LCHlch(60.2 114.8 327.9)
OKLCHoklch(0.700 0.320 327.9)
Decimal16583935
Display P3color(display-p3 0.992 0.047 1.000)

Copy-ready code

/* CSS */
color: #fd0cff;
background-color: #fd0cff;
/* Tailwind (arbitrary) */
class="text-[#fd0cff] bg-[#fd0cff]"
/* SCSS */
$brand: #fd0cff;
/* SwiftUI */
Color(red: 0.992, green: 0.047, blue: 1.000)
/* Android */
Color.parseColor("#fd0cff")
/* Flutter */
Color(0xFFFD0CFF)
/* Python / OpenCV (BGR) */
(255, 12, 253)

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

Accessibility — WCAG contrast

Aa
#fd0cff on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#fd0cff on black: 6.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0080FF
deuteranopia · #679AFA
tritanopia · #FF4D97

Color scale — 50 to 950

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

#FEF1FE
#FCE3FC
#FBC0FC
#FE8FFF
#FE57FF
#fd0cff
#F300F5
#CA00CC
#A200A3
#750576
#490349
Base = 500Lightest = 50 · #FEF1FEDarkest = 950 · #490349
:root {
  --brand-50: #FEF1FE;
  --brand-100: #FCE3FC;
  --brand-200: #FBC0FC;
  --brand-300: #FE8FFF;
  --brand-400: #FE57FF;
  --brand-500: #fd0cff;
  --brand-600: #F300F5;
  --brand-700: #CA00CC;
  --brand-800: #A200A3;
  --brand-900: #750576;
  --brand-950: #490349;
  --brand: #fd0cff;
  --brand-ink: #000000;
}

Colors that work with #fd0cff

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#FAF4FA
Tinted page background
Border#ECC0ED
Hairlines and dividers
Muted text#9A4B9B
Captions on the surface
Accent#35CC00
Second voice, not a rival
Dark variant#7E0080
Hover, pressed, headers
Light variant#FFE5FF
Selected rows, tints
Dark surface#241424
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 #fd0cff

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#0EFF0C
Analogous left#840CFF
Analogous right#FF0C88
Split-complement 1#88FF0C
Split-complement 2#0CFF84
Triadic 1#FFFD0C
Triadic 2#0CFFFD
Tetradic#FF840C

RGB percentages

Red99.2%
Green4.7%
Blue100.0%

CMYK percentages

Cyan0.8%
Magenta95.3%
Yellow0.0%
Key (black)0.0%

Color previews

#fd0cff text on a black background

contrast 6.67:1

Card sample

#fd0cff text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd0cff

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.

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

#fd0cff, answered

What color is #fd0cff?

#fd0cff is a balanced electric magenta / pink — the CSS keyword Magenta. It sits at 300° on the hue wheel with 100% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #fd0cff?

rgb(253, 12, 255) — 253 red, 12 green and 255 blue out of 255, or 99.2% / 4.7% / 100% by channel.

Is #fd0cff a light or a dark color?

It is a mid-tone. Relative luminance is 0.2837 and perceived brightness is 64%, so black text on it reaches 6.67:1.

Should I use black or white text on #fd0cff?

Black. It scores 6.67:1 against #fd0cff, versus 3.15:1 for white — AA at any size.

What is the complementary color of #fd0cff?

#0EFF0C sits directly opposite on the wheel. Softer options are the split-complements #88FF0C and #0CFF84, which give the same contrast with far less vibration.

What colors go well with #fd0cff?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9A4B9B for secondary text, #35CC00 as an accent and #7E0080 for hover and pressed states. For a palette, the analogous pair #840CFF and #FF0C88 stays calm, while #0EFF0C is the loudest partner.

What is #fd0cff in CMYK for printing?

cmyk(1%, 95%, 0%, 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 #fd0cff warm or cool?

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

Work with #fd0cff in the Color Lab