Skip to content

#f099f5

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

RGB
240, 153, 245
HSL
297°, 82%, 78%
CMYK
2, 38, 0, 4
Luminance
0.4790

At a glance

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

Hex
#f099f5
Hue
297°
magenta / pink
Saturation
82%
electric
Lightness
78%
light
Brightness
96%
HSV value
Perceived
76%
weighted brightness
Luminance
0.4790
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
10.58:1
Closest name
Violet
ΔE2000 4.8
Where it sits
Hue297° of 360°
Saturation82%
Lightness78%
Temperature
Warm ← → Cool52% 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#f099f5
RGBrgb(240, 153, 245)
HSLhsl(297, 82%, 78%)
CMYKcmyk(2%, 38%, 0%, 4%)
LABlab(74.8 46.6 -32.8)
LCHlch(74.8 57.0 324.9)
OKLCHoklch(0.801 0.156 325.0)
Decimal15768053
Display P3color(display-p3 0.941 0.600 0.961)

Copy-ready code

/* CSS */
color: #f099f5;
background-color: #f099f5;
/* Tailwind (arbitrary) */
class="text-[#f099f5] bg-[#f099f5]"
/* SCSS */
$brand: #f099f5;
/* SwiftUI */
Color(red: 0.941, green: 0.600, blue: 0.961)
/* Android */
Color.parseColor("#f099f5")
/* Flutter */
Color(0xFFF099F5)
/* Python / OpenCV (BGR) */
(245, 153, 240)

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

Accessibility — WCAG contrast

Aa
#f099f5 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#f099f5 on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #90B1F8
deuteranopia · #A7BCF2
tritanopia · #F4A2BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f099f5 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
#F8E6FA
#F3C6F6
#f099f5
#E866F0
#E133EB
#D416DF
#B112BA
#8D0F95
#660F6B
#400943
Base = 300Lightest = 50 · #FCF2FCDarkest = 950 · #400943
:root {
  --brand-50: #FCF2FC;
  --brand-100: #F8E6FA;
  --brand-200: #F3C6F6;
  --brand-300: #f099f5;
  --brand-400: #E866F0;
  --brand-500: #E133EB;
  --brand-600: #D416DF;
  --brand-700: #B112BA;
  --brand-800: #8D0F95;
  --brand-900: #660F6B;
  --brand-950: #400943;
  --brand: #f099f5;
  --brand-ink: #000000;
}

Colors that work with #f099f5

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#EAC0ED
Hairlines and dividers
Muted text#964B9B
Captions on the surface
Accent#43BD0F
Second voice, not a rival
Dark variant#6E0B74
Hover, pressed, headers
Light variant#FCE8FD
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 #f099f5

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#9EF599
Analogous left#C299F5
Analogous right#F599CC
Split-complement 1#CCF599
Split-complement 2#99F5C2
Triadic 1#F5F099
Triadic 2#99F5F0
Tetradic#F5C299

RGB percentages

Red94.1%
Green60.0%
Blue96.1%

CMYK percentages

Cyan2.0%
Magenta37.6%
Yellow0.0%
Key (black)3.9%

Color previews

#f099f5 text on a black background

contrast 10.58:1

Card sample

#f099f5 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f099f5

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.

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

#f099f5, answered

What color is #f099f5?

#f099f5 is a light electric magenta / pink, closest to Violet (ΔE2000 4.8). It sits at 297° on the hue wheel with 82% saturation and 78% lightness, which reads as neutral.

What is the RGB value of #f099f5?

rgb(240, 153, 245) — 240 red, 153 green and 245 blue out of 255, or 94.1% / 60% / 96.1% by channel.

Is #f099f5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4790 and perceived brightness is 76%, so black text on it reaches 10.58:1.

Should I use black or white text on #f099f5?

Black. It scores 10.58:1 against #f099f5, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #f099f5?

#9EF599 sits directly opposite on the wheel. Softer options are the split-complements #CCF599 and #99F5C2, which give the same contrast with far less vibration.

What colors go well with #f099f5?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #43BD0F as an accent and #6E0B74 for hover and pressed states. For a palette, the analogous pair #C299F5 and #F599CC stays calm, while #9EF599 is the loudest partner.

What is #f099f5 in CMYK for printing?

cmyk(2%, 38%, 0%, 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 #f099f5 warm or cool?

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

Work with #f099f5 in the Color Lab