Skip to content

#f790df

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

RGB
247, 144, 223
HSL
314°, 87%, 77%
CMYK
0, 42, 10, 3
Luminance
0.4505

At a glance

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

Hex
#f790df
Hue
314°
magenta / pink
Saturation
87%
electric
Lightness
77%
light
Brightness
97%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4505
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
10.01:1
Closest name
Violet
ΔE2000 5.6
Where it sits
Hue314° of 360°
Saturation87%
Lightness77%
Temperature
Warm ← → Cool42% 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#f790df
RGBrgb(247, 144, 223)
HSLhsl(314, 87%, 77%)
CMYKcmyk(0%, 42%, 10%, 3%)
LABlab(72.9 49.5 -23.5)
LCHlch(72.9 54.8 334.6)
OKLCHoklch(0.786 0.157 336.2)
Decimal16224479
Display P3color(display-p3 0.969 0.565 0.875)

Copy-ready code

/* CSS */
color: #f790df;
background-color: #f790df;
/* Tailwind (arbitrary) */
class="text-[#f790df] bg-[#f790df]"
/* SCSS */
$brand: #f790df;
/* SwiftUI */
Color(red: 0.969, green: 0.565, blue: 0.875)
/* Android */
Color.parseColor("#f790df")
/* Flutter */
Color(0xFFF790DF)
/* Python / OpenCV (BGR) */
(223, 144, 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 #f790df · 10.01:1
Use #000000AAA at every size.
Aa
White text · 2.10:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.01:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f790df as text scores 2.10:1 on white and 10.01:1 on black.

Accessibility — WCAG contrast

Aa
#f790df on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#f790df on black: 10.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91A9E2
deuteranopia · #ACB9DC
tritanopia · #FF94AE

Color scale — 50 to 950

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

#FDF2FA
#FAE5F5
#F7C4EB
#f790df
#F462D2
#F02EC3
#E410B3
#BE0E95
#980B77
#6E0C57
#450837
Base = 300Lightest = 50 · #FDF2FADarkest = 950 · #450837
:root {
  --brand-50: #FDF2FA;
  --brand-100: #FAE5F5;
  --brand-200: #F7C4EB;
  --brand-300: #f790df;
  --brand-400: #F462D2;
  --brand-500: #F02EC3;
  --brand-600: #E410B3;
  --brand-700: #BE0E95;
  --brand-800: #980B77;
  --brand-900: #6E0C57;
  --brand-950: #450837;
  --brand: #f790df;
  --brand-ink: #000000;
}

Colors that work with #f790df

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#EDC0E2
Hairlines and dividers
Muted text#9B4B88
Captions on the surface
Accent#0EC20A
Second voice, not a rival
Dark variant#77095D
Hover, pressed, headers
Light variant#FDE7F8
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 #f790df

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#90F7A8
Analogous left#DC90F7
Analogous right#F790AC
Split-complement 1#ACF790
Split-complement 2#90F7DC
Triadic 1#DFF790
Triadic 2#90DFF7
Tetradic#F7DC90

RGB percentages

Red96.9%
Green56.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta41.7%
Yellow9.7%
Key (black)3.1%

Color previews

#f790df text on a black background

contrast 10.01:1

Card sample

#f790df text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f790df

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.

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

#f790df, answered

What color is #f790df?

#f790df is a light electric magenta / pink, closest to Violet (ΔE2000 5.6). It sits at 314° on the hue wheel with 87% saturation and 77% lightness, which reads as neutral.

What is the RGB value of #f790df?

rgb(247, 144, 223) — 247 red, 144 green and 223 blue out of 255, or 96.9% / 56.5% / 87.5% by channel.

Is #f790df a light or a dark color?

It is a mid-tone. Relative luminance is 0.4505 and perceived brightness is 74%, so black text on it reaches 10.01:1.

Should I use black or white text on #f790df?

Black. It scores 10.01:1 against #f790df, versus 2.10:1 for white — AAA at any size.

What is the complementary color of #f790df?

#90F7A8 sits directly opposite on the wheel. Softer options are the split-complements #ACF790 and #90F7DC, which give the same contrast with far less vibration.

What colors go well with #f790df?

For interface work: #FAF4F9 as the surface, #EDC0E2 for borders, #9B4B88 for secondary text, #0EC20A as an accent and #77095D for hover and pressed states. For a palette, the analogous pair #DC90F7 and #F790AC stays calm, while #90F7A8 is the loudest partner.

What is #f790df in CMYK for printing?

cmyk(0%, 42%, 10%, 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 #f790df warm or cool?

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

Work with #f790df in the Color Lab