Skip to content

#f7a2f0

a light, electric magenta / pink · neutral · closest name: Plum

RGB
247, 162, 240
HSL
305°, 84%, 80%
CMYK
0, 34, 3, 3
Luminance
0.5191

At a glance

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

Hex
#f7a2f0
Hue
305°
magenta / pink
Saturation
84%
electric
Lightness
80%
light
Brightness
97%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5191
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
11.38:1
Closest name
Plum
ΔE2000 4.8
Where it sits
Hue305° of 360°
Saturation84%
Lightness80%
Temperature
Warm ← → Cool47% 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#f7a2f0
RGBrgb(247, 162, 240)
HSLhsl(305, 84%, 80%)
CMYKcmyk(0%, 34%, 3%, 3%)
LABlab(77.2 43.2 -26.2)
LCHlch(77.2 50.5 328.7)
OKLCHoklch(0.821 0.140 329.7)
Decimal16229104
Display P3color(display-p3 0.969 0.635 0.941)

Copy-ready code

/* CSS */
color: #f7a2f0;
background-color: #f7a2f0;
/* Tailwind (arbitrary) */
class="text-[#f7a2f0] bg-[#f7a2f0]"
/* SCSS */
$brand: #f7a2f0;
/* SwiftUI */
Color(red: 0.969, green: 0.635, blue: 0.941)
/* Android */
Color.parseColor("#f7a2f0")
/* Flutter */
Color(0xFFF7A2F0)
/* Python / OpenCV (BGR) */
(240, 162, 247)

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

Accessibility — WCAG contrast

Aa
#f7a2f0 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#f7a2f0 on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9EB8F3
deuteranopia · #B4C3ED
tritanopia · #FDA8BF

Color scale — 50 to 950

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

#FCF2FC
#FAE6F8
#F6C5F2
#f7a2f0
#F264E6
#ED30DE
#E113D1
#BC10AE
#960D8B
#6D0E65
#44093F
Base = 300Lightest = 50 · #FCF2FCDarkest = 950 · #44093F
:root {
  --brand-50: #FCF2FC;
  --brand-100: #FAE6F8;
  --brand-200: #F6C5F2;
  --brand-300: #f7a2f0;
  --brand-400: #F264E6;
  --brand-500: #ED30DE;
  --brand-600: #E113D1;
  --brand-700: #BC10AE;
  --brand-800: #960D8B;
  --brand-900: #6D0E65;
  --brand-950: #44093F;
  --brand: #f7a2f0;
  --brand-ink: #000000;
}

Colors that work with #f7a2f0

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#EDC0E9
Hairlines and dividers
Muted text#9B4B94
Captions on the surface
Accent#2AC00C
Second voice, not a rival
Dark variant#750A6D
Hover, pressed, headers
Light variant#FDE8FB
Selected rows, tints
Dark surface#241423
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 #f7a2f0

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#A2F7A9
Analogous left#D3A2F7
Analogous right#F7A2C6
Split-complement 1#C6F7A2
Split-complement 2#A2F7D3
Triadic 1#F0F7A2
Triadic 2#A2F0F7
Tetradic#F7D3A2

RGB percentages

Red96.9%
Green63.5%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta34.4%
Yellow2.8%
Key (black)3.1%

Color previews

#f7a2f0 text on a black background

contrast 11.38:1

Card sample

#f7a2f0 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7a2f0

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.

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

#f7a2f0, answered

What color is #f7a2f0?

#f7a2f0 is a light electric magenta / pink, closest to Plum (ΔE2000 4.8). It sits at 305° on the hue wheel with 84% saturation and 80% lightness, which reads as neutral.

What is the RGB value of #f7a2f0?

rgb(247, 162, 240) — 247 red, 162 green and 240 blue out of 255, or 96.9% / 63.5% / 94.1% by channel.

Is #f7a2f0 a light or a dark color?

It is a light color. Relative luminance is 0.5191 and perceived brightness is 79%, so black text on it reaches 11.38:1.

Should I use black or white text on #f7a2f0?

Black. It scores 11.38:1 against #f7a2f0, versus 1.85:1 for white — AAA at any size.

What is the complementary color of #f7a2f0?

#A2F7A9 sits directly opposite on the wheel. Softer options are the split-complements #C6F7A2 and #A2F7D3, which give the same contrast with far less vibration.

What colors go well with #f7a2f0?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B94 for secondary text, #2AC00C as an accent and #750A6D for hover and pressed states. For a palette, the analogous pair #D3A2F7 and #F7A2C6 stays calm, while #A2F7A9 is the loudest partner.

What is #f7a2f0 in CMYK for printing?

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

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

Work with #f7a2f0 in the Color Lab