Skip to content

#f02065

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

RGB
240, 32, 101
HSL
340°, 87%, 53%
CMYK
0, 87, 58, 6
Luminance
0.2050

At a glance

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

Hex
#f02065
Hue
340°
magenta / pink
Saturation
87%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2050
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.10:1
Closest name
Deep Pink
ΔE2000 9.7
Where it sits
Hue340° of 360°
Saturation87%
Lightness53%
Temperature
Warm ← → Cool28% 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#f02065
RGBrgb(240, 32, 101)
HSLhsl(340, 87%, 53%)
CMYKcmyk(0%, 87%, 58%, 6%)
LABlab(52.4 76.1 16.4)
LCHlch(52.4 77.8 12.2)
OKLCHoklch(0.620 0.234 10.1)
Decimal15736933
Display P3color(display-p3 0.941 0.125 0.396)

Copy-ready code

/* CSS */
color: #f02065;
background-color: #f02065;
/* Tailwind (arbitrary) */
class="text-[#f02065] bg-[#f02065]"
/* SCSS */
$brand: #f02065;
/* SwiftUI */
Color(red: 0.941, green: 0.125, blue: 0.396)
/* Android */
Color.parseColor("#f02065")
/* Flutter */
Color(0xFFF02065)
/* Python / OpenCV (BGR) */
(101, 32, 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 #f02065 · 5.10:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.12:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.10:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #f02065 as text scores 4.12:1 on white and 5.10:1 on black.

Accessibility — WCAG contrast

Aa
#f02065 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#f02065 on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #626366
deuteranopia · #968B60
tritanopia · #FF0041

Color scale — 50 to 950

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

#FDF2F6
#FAE5EC
#F8C4D5
#F896B6
#F46192
#f02065
#E50F56
#BF0D48
#990A3A
#6E0C2D
#45071C
Base = 500Lightest = 50 · #FDF2F6Darkest = 950 · #45071C
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FAE5EC;
  --brand-200: #F8C4D5;
  --brand-300: #F896B6;
  --brand-400: #F46192;
  --brand-500: #f02065;
  --brand-600: #E50F56;
  --brand-700: #BF0D48;
  --brand-800: #990A3A;
  --brand-900: #6E0C2D;
  --brand-950: #45071C;
  --brand: #f02065;
  --brand-ink: #000000;
}

Colors that work with #f02065

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#FAF4F6
Tinted page background
Border#EDC0CF
Hairlines and dividers
Muted text#9B4B65
Captions on the surface
Accent#09C356
Second voice, not a rival
Dark variant#77082D
Hover, pressed, headers
Light variant#FDE7EE
Selected rows, tints
Dark surface#241419
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 #f02065

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#20F0AB
Analogous left#F020CD
Analogous right#F04320
Split-complement 1#20F043
Split-complement 2#20CDF0
Triadic 1#65F020
Triadic 2#2065F0
Tetradic#CDF020

RGB percentages

Red94.1%
Green12.5%
Blue39.6%

CMYK percentages

Cyan0.0%
Magenta86.7%
Yellow57.9%
Key (black)5.9%

Color previews

#f02065 text on a black background

contrast 5.10:1

Card sample

#f02065 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f02065

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.

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

#f02065, answered

What color is #f02065?

#f02065 is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 9.7). It sits at 340° on the hue wheel with 87% saturation and 53% lightness, which reads as warm.

What is the RGB value of #f02065?

rgb(240, 32, 101) — 240 red, 32 green and 101 blue out of 255, or 94.1% / 12.5% / 39.6% by channel.

Is #f02065 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2050 and perceived brightness is 54%, so black text on it reaches 5.10:1.

Should I use black or white text on #f02065?

Black. It scores 5.10:1 against #f02065, versus 4.12:1 for white — AA at any size.

What is the complementary color of #f02065?

#20F0AB sits directly opposite on the wheel. Softer options are the split-complements #20F043 and #20CDF0, which give the same contrast with far less vibration.

What colors go well with #f02065?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B65 for secondary text, #09C356 as an accent and #77082D for hover and pressed states. For a palette, the analogous pair #F020CD and #F04320 stays calm, while #20F0AB is the loudest partner.

What is #f02065 in CMYK for printing?

cmyk(0%, 87%, 58%, 6%). 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 #f02065 warm or cool?

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

Work with #f02065 in the Color Lab