Skip to content

#f99cf8

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

RGB
249, 156, 248
HSL
301°, 89%, 79%
CMYK
0, 37, 0, 2
Luminance
0.5069

At a glance

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

Hex
#f99cf8
Hue
301°
magenta / pink
Saturation
89%
electric
Lightness
79%
light
Brightness
98%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5069
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
11.14:1
Closest name
Violet
ΔE2000 5.7
Where it sits
Hue301° of 360°
Saturation89%
Lightness79%
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#f99cf8
RGBrgb(249, 156, 248)
HSLhsl(301, 89%, 79%)
CMYKcmyk(0%, 37%, 0%, 2%)
LABlab(76.5 48.3 -31.6)
LCHlch(76.5 57.7 326.8)
OKLCHoklch(0.817 0.159 327.3)
Decimal16358648
Display P3color(display-p3 0.976 0.612 0.973)

Copy-ready code

/* CSS */
color: #f99cf8;
background-color: #f99cf8;
/* Tailwind (arbitrary) */
class="text-[#f99cf8] bg-[#f99cf8]"
/* SCSS */
$brand: #f99cf8;
/* SwiftUI */
Color(red: 0.976, green: 0.612, blue: 0.973)
/* Android */
Color.parseColor("#f99cf8")
/* Flutter */
Color(0xFFF99CF8)
/* Python / OpenCV (BGR) */
(248, 156, 249)

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

Accessibility — WCAG contrast

Aa
#f99cf8 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#f99cf8 on black: 11.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95B5FB
deuteranopia · #ADC1F5
tritanopia · #FFA4BF

Color scale — 50 to 950

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

#FDF2FD
#FBE5FA
#F8C4F7
#f99cf8
#F560F4
#F22BF0
#E70EE5
#C00CBF
#9A0998
#6F0B6E
#450745
Base = 300Lightest = 50 · #FDF2FDDarkest = 950 · #450745
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FBE5FA;
  --brand-200: #F8C4F7;
  --brand-300: #f99cf8;
  --brand-400: #F560F4;
  --brand-500: #F22BF0;
  --brand-600: #E70EE5;
  --brand-700: #C00CBF;
  --brand-800: #9A0998;
  --brand-900: #6F0B6E;
  --brand-950: #450745;
  --brand: #f99cf8;
  --brand-ink: #000000;
}

Colors that work with #f99cf8

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#EDC0EC
Hairlines and dividers
Muted text#9B4B9A
Captions on the surface
Accent#34C408
Second voice, not a rival
Dark variant#780777
Hover, pressed, headers
Light variant#FEE7FD
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 #f99cf8

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#9CF99D
Analogous left#CB9CF9
Analogous right#F99CCA
Split-complement 1#CAF99C
Split-complement 2#9CF9CB
Triadic 1#F8F99C
Triadic 2#9CF8F9
Tetradic#F9CB9C

RGB percentages

Red97.6%
Green61.2%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta37.3%
Yellow0.4%
Key (black)2.4%

Color previews

#f99cf8 text on a black background

contrast 11.14:1

Card sample

#f99cf8 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(249, 156, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 156, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f99cf8;
background: linear-gradient(135deg, #f99cf8, #F99CBA);

Monochromatic scale

Palettes built from #f99cf8

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.

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

#f99cf8, answered

What color is #f99cf8?

#f99cf8 is a light electric magenta / pink, closest to Violet (ΔE2000 5.7). It sits at 301° on the hue wheel with 89% saturation and 79% lightness, which reads as neutral.

What is the RGB value of #f99cf8?

rgb(249, 156, 248) — 249 red, 156 green and 248 blue out of 255, or 97.6% / 61.2% / 97.3% by channel.

Is #f99cf8 a light or a dark color?

It is a light color. Relative luminance is 0.5069 and perceived brightness is 78%, so black text on it reaches 11.14:1.

Should I use black or white text on #f99cf8?

Black. It scores 11.14:1 against #f99cf8, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #f99cf8?

#9CF99D sits directly opposite on the wheel. Softer options are the split-complements #CAF99C and #9CF9CB, which give the same contrast with far less vibration.

What colors go well with #f99cf8?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9A for secondary text, #34C408 as an accent and #780777 for hover and pressed states. For a palette, the analogous pair #CB9CF9 and #F99CCA stays calm, while #9CF99D is the loudest partner.

What is #f99cf8 in CMYK for printing?

cmyk(0%, 37%, 0%, 2%). 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 #f99cf8 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 #F99CD6; nudged cooler, #D89BFA.

Work with #f99cf8 in the Color Lab