Skip to content

#fc08ab

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

RGB
252, 8, 171
HSL
320°, 98%, 51%
CMYK
0, 97, 32, 1
Luminance
0.2381

At a glance

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

Hex
#fc08ab
Hue
320°
magenta / pink
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2381
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.76:1
Closest name
Deep Pink
ΔE2000 4.9
Where it sits
Hue320° of 360°
Saturation98%
Lightness51%
Temperature
Warm ← → Cool39% 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#fc08ab
RGBrgb(252, 8, 171)
HSLhsl(320, 98%, 51%)
CMYKcmyk(0%, 97%, 32%, 1%)
LABlab(55.9 87.1 -20.0)
LCHlch(55.9 89.4 347.1)
OKLCHoklch(0.656 0.273 348.9)
Decimal16517291
Display P3color(display-p3 0.988 0.031 0.671)

Copy-ready code

/* CSS */
color: #fc08ab;
background-color: #fc08ab;
/* Tailwind (arbitrary) */
class="text-[#fc08ab] bg-[#fc08ab]"
/* SCSS */
$brand: #fc08ab;
/* SwiftUI */
Color(red: 0.988, green: 0.031, blue: 0.671)
/* Android */
Color.parseColor("#fc08ab")
/* Flutter */
Color(0xFFFC08AB)
/* Python / OpenCV (BGR) */
(171, 8, 252)

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

Accessibility — WCAG contrast

Aa
#fc08ab on white: 3.64:1
AA ✗ fail · AA-large · AAA
Aa
#fc08ab on black: 5.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #496DAE
deuteranopia · #8D93A6
tritanopia · #FF0065

Color scale — 50 to 950

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

#FDF1F9
#FCE4F4
#FBC1E8
#FE90D9
#FD59C7
#FC21B4
#fc08ab
#CA0288
#A1026C
#740650
#490432
Base = 600Lightest = 50 · #FDF1F9Darkest = 950 · #490432
:root {
  --brand-50: #FDF1F9;
  --brand-100: #FCE4F4;
  --brand-200: #FBC1E8;
  --brand-300: #FE90D9;
  --brand-400: #FD59C7;
  --brand-500: #FC21B4;
  --brand-600: #fc08ab;
  --brand-700: #CA0288;
  --brand-800: #A1026C;
  --brand-900: #740650;
  --brand-950: #490432;
  --brand: #fc08ab;
  --brand-ink: #000000;
}

Colors that work with #fc08ab

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#EDC0DE
Hairlines and dividers
Muted text#9B4B80
Captions on the surface
Accent#00CC11
Second voice, not a rival
Dark variant#7E0255
Hover, pressed, headers
Light variant#FFE6F6
Selected rows, tints
Dark surface#24141F
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 #fc08ab

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#08FC59
Analogous left#D308FC
Analogous right#FC0831
Split-complement 1#31FC08
Split-complement 2#08FCD3
Triadic 1#ABFC08
Triadic 2#08ABFC
Tetradic#FCD308

RGB percentages

Red98.8%
Green3.1%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta96.8%
Yellow32.1%
Key (black)1.2%

Color previews

#fc08ab text on a black background

contrast 5.76:1

Card sample

#fc08ab text on a white background

contrast 3.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 8, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 8, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fc08ab;
background: linear-gradient(135deg, #fc08ab, #FC0809);

Monochromatic scale

Palettes built from #fc08ab

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.

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

#fc08ab, answered

What color is #fc08ab?

#fc08ab is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 4.9). It sits at 320° on the hue wheel with 98% saturation and 51% lightness, which reads as warm.

What is the RGB value of #fc08ab?

rgb(252, 8, 171) — 252 red, 8 green and 171 blue out of 255, or 98.8% / 3.1% / 67.1% by channel.

Is #fc08ab a light or a dark color?

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

Should I use black or white text on #fc08ab?

Black. It scores 5.76:1 against #fc08ab, versus 3.64:1 for white — AA at any size.

What is the complementary color of #fc08ab?

#08FC59 sits directly opposite on the wheel. Softer options are the split-complements #31FC08 and #08FCD3, which give the same contrast with far less vibration.

What colors go well with #fc08ab?

For interface work: #FAF4F8 as the surface, #EDC0DE for borders, #9B4B80 for secondary text, #00CC11 as an accent and #7E0255 for hover and pressed states. For a palette, the analogous pair #D308FC and #FC0831 stays calm, while #08FC59 is the loudest partner.

What is #fc08ab in CMYK for printing?

cmyk(0%, 97%, 32%, 1%). 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 #fc08ab warm or cool?

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

Work with #fc08ab in the Color Lab