Skip to content

#f331cf

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

RGB
243, 49, 207
HSL
311°, 89%, 57%
CMYK
0, 80, 15, 5
Luminance
0.2576

At a glance

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

Hex
#f331cf
Hue
311°
magenta / pink
Saturation
89%
electric
Lightness
57%
balanced
Brightness
95%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2576
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.15:1
Closest name
Magenta
ΔE2000 6.5
Where it sits
Hue311° of 360°
Saturation89%
Lightness57%
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#f331cf
RGBrgb(243, 49, 207)
HSLhsl(311, 89%, 57%)
CMYKcmyk(0%, 80%, 15%, 5%)
LABlab(57.8 83.7 -38.0)
LCHlch(57.8 91.9 335.6)
OKLCHoklch(0.672 0.268 337.3)
Decimal15937999
Display P3color(display-p3 0.953 0.192 0.812)

Copy-ready code

/* CSS */
color: #f331cf;
background-color: #f331cf;
/* Tailwind (arbitrary) */
class="text-[#f331cf] bg-[#f331cf]"
/* SCSS */
$brand: #f331cf;
/* SwiftUI */
Color(red: 0.953, green: 0.192, blue: 0.812)
/* Android */
Color.parseColor("#f331cf")
/* Flutter */
Color(0xFFF331CF)
/* Python / OpenCV (BGR) */
(207, 49, 243)

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

Accessibility — WCAG contrast

Aa
#f331cf on white: 3.41:1
AA ✗ fail · AA-large · AAA
Aa
#f331cf on black: 6.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3978D3
deuteranopia · #7F95CB
tritanopia · #FF3F80

Color scale — 50 to 950

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

#FDF2FB
#FBE5F7
#F8C4EE
#F995E6
#F660DA
#f331cf
#E70DBF
#C10B9F
#9A097F
#6F0B5D
#46073A
Base = 500Lightest = 50 · #FDF2FBDarkest = 950 · #46073A
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FBE5F7;
  --brand-200: #F8C4EE;
  --brand-300: #F995E6;
  --brand-400: #F660DA;
  --brand-500: #f331cf;
  --brand-600: #E70DBF;
  --brand-700: #C10B9F;
  --brand-800: #9A097F;
  --brand-900: #6F0B5D;
  --brand-950: #46073A;
  --brand: #f331cf;
  --brand-ink: #000000;
}

Colors that work with #f331cf

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#EDC0E4
Hairlines and dividers
Muted text#9B4B8C
Captions on the surface
Accent#14C507
Second voice, not a rival
Dark variant#780763
Hover, pressed, headers
Light variant#FEE7F9
Selected rows, tints
Dark surface#241421
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 #f331cf

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#31F355
Analogous left#B631F3
Analogous right#F3316E
Split-complement 1#6EF331
Split-complement 2#31F3B6
Triadic 1#CFF331
Triadic 2#31CFF3
Tetradic#F3B631

RGB percentages

Red95.3%
Green19.2%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta79.8%
Yellow14.8%
Key (black)4.7%

Color previews

#f331cf text on a black background

contrast 6.15:1

Card sample

#f331cf text on a white background

contrast 3.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(243, 49, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 49, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f331cf;
background: linear-gradient(135deg, #f331cf, #F3314E);

Monochromatic scale

Palettes built from #f331cf

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.

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

#f331cf, answered

What color is #f331cf?

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

What is the RGB value of #f331cf?

rgb(243, 49, 207) — 243 red, 49 green and 207 blue out of 255, or 95.3% / 19.2% / 81.2% by channel.

Is #f331cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2576 and perceived brightness is 61%, so black text on it reaches 6.15:1.

Should I use black or white text on #f331cf?

Black. It scores 6.15:1 against #f331cf, versus 3.41:1 for white — AA at any size.

What is the complementary color of #f331cf?

#31F355 sits directly opposite on the wheel. Softer options are the split-complements #6EF331 and #31F3B6, which give the same contrast with far less vibration.

What colors go well with #f331cf?

For interface work: #FAF4F9 as the surface, #EDC0E4 for borders, #9B4B8C for secondary text, #14C507 as an accent and #780763 for hover and pressed states. For a palette, the analogous pair #B631F3 and #F3316E stays calm, while #31F355 is the loudest partner.

What is #f331cf in CMYK for printing?

cmyk(0%, 80%, 15%, 5%). 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 #f331cf 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 #F33188; nudged cooler, #D12FF5.

Work with #f331cf in the Color Lab