Skip to content

#f8309c

a balanced, electric magenta / pink · warm · closest name: Deep Pink

RGB
248, 48, 156
HSL
328°, 94%, 58%
CMYK
0, 81, 37, 3
Luminance
0.2447

At a glance

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

Hex
#f8309c
Hue
328°
magenta / pink
Saturation
94%
electric
Lightness
58%
balanced
Brightness
97%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2447
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.89:1
Closest name
Deep Pink
ΔE2000 2.2
Where it sits
Hue328° of 360°
Saturation94%
Lightness58%
Temperature
Warm ← → Cool35% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#f8309c
RGBrgb(248, 48, 156)
HSLhsl(328, 94%, 58%)
CMYKcmyk(0%, 81%, 37%, 3%)
LABlab(56.6 79.2 -10.3)
LCHlch(56.6 79.8 352.6)
OKLCHoklch(0.658 0.245 353.9)
Decimal16265372
Display P3color(display-p3 0.973 0.188 0.612)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#f8309c on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#f8309c on black: 5.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5C719F
deuteranopia · #949598
tritanopia · #FF0A63

Color scale — 50 to 950

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

#FDF2F8
#FBE4F1
#FAC2E0
#FB92CB
#FA5CB1
#f8309c
#ED0884
#C5076E
#9E0558
#720941
#470529
Base = 500Lightest = 50 · #FDF2F8Darkest = 950 · #470529
:root {
  --brand-50: #FDF2F8;
  --brand-100: #FBE4F1;
  --brand-200: #FAC2E0;
  --brand-300: #FB92CB;
  --brand-400: #FA5CB1;
  --brand-500: #f8309c;
  --brand-600: #ED0884;
  --brand-700: #C5076E;
  --brand-800: #9E0558;
  --brand-900: #720941;
  --brand-950: #470529;
  --brand: #f8309c;
  --brand-ink: #000000;
}

Colors that work with #f8309c

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#FAF4F8
Tinted page background
Border#EDC0D8
Hairlines and dividers
Muted text#9B4B76
Captions on the surface
Accent#03C92C
Second voice, not a rival
Dark variant#7B0445
Hover, pressed, headers
Light variant#FEE6F3
Selected rows, tints
Dark surface#24141D
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 #f8309c

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#30F88C
Analogous left#F030F8
Analogous right#F83038
Split-complement 1#38F830
Split-complement 2#30F8F0
Triadic 1#9CF830
Triadic 2#309CF8
Tetradic#F8F030

RGB percentages

Red97.3%
Green18.8%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta80.6%
Yellow37.1%
Key (black)2.7%

Color previews

#f8309c text on a black background

contrast 5.89:1

Card sample

#f8309c text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8309c

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.

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

#f8309c, answered

What color is #f8309c?

#f8309c is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 2.2). It sits at 328° on the hue wheel with 94% saturation and 58% lightness, which reads as warm.

What is the RGB value of #f8309c?

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

Is #f8309c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2447 and perceived brightness is 59%, so black text on it reaches 5.89:1.

Should I use black or white text on #f8309c?

Black. It scores 5.89:1 against #f8309c, versus 3.56:1 for white — AA at any size.

What is the complementary color of #f8309c?

#30F88C sits directly opposite on the wheel. Softer options are the split-complements #38F830 and #30F8F0, which give the same contrast with far less vibration.

What colors go well with #f8309c?

For interface work: #FAF4F8 as the surface, #EDC0D8 for borders, #9B4B76 for secondary text, #03C92C as an accent and #7B0445 for hover and pressed states. For a palette, the analogous pair #F030F8 and #F83038 stays calm, while #30F88C is the loudest partner.

What is #f8309c in CMYK for printing?

cmyk(0%, 81%, 37%, 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 #f8309c warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F83052; nudged cooler, #FA2EE7.

Work with #f8309c in the Color Lab