Skip to content

#f07ccf

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

RGB
240, 124, 207
HSL
317°, 80%, 71%
CMYK
0, 48, 14, 6
Luminance
0.3745

At a glance

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

Hex
#f07ccf
Hue
317°
magenta / pink
Saturation
80%
electric
Lightness
71%
light
Brightness
94%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3745
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.49:1
Closest name
Violet
ΔE2000 5.8
Where it sits
Hue317° of 360°
Saturation80%
Lightness71%
Temperature
Warm ← → Cool40% 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#f07ccf
RGBrgb(240, 124, 207)
HSLhsl(317, 80%, 71%)
CMYKcmyk(0%, 48%, 14%, 6%)
LABlab(67.6 54.8 -22.8)
LCHlch(67.6 59.3 337.4)
OKLCHoklch(0.743 0.172 339.1)
Decimal15760591
Display P3color(display-p3 0.941 0.486 0.812)

Copy-ready code

/* CSS */
color: #f07ccf;
background-color: #f07ccf;
/* Tailwind (arbitrary) */
class="text-[#f07ccf] bg-[#f07ccf]"
/* SCSS */
$brand: #f07ccf;
/* SwiftUI */
Color(red: 0.941, green: 0.486, blue: 0.812)
/* Android */
Color.parseColor("#f07ccf")
/* Flutter */
Color(0xFFF07CCF)
/* Python / OpenCV (BGR) */
(207, 124, 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 #f07ccf · 8.49:1
Use #000000AAA at every size.
Aa
White text · 2.47:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.49:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f07ccf as text scores 2.47:1 on white and 8.49:1 on black.

Accessibility — WCAG contrast

Aa
#f07ccf on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#f07ccf on black: 8.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8099D2
deuteranopia · #A0ABCC
tritanopia · #FB7F9C

Color scale — 50 to 950

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

#FCF3F9
#F9E6F4
#F5C7E8
#F39ADA
#f07ccf
#E836B5
#DC19A4
#B71589
#92116D
#6A1050
#420A32
Base = 400Lightest = 50 · #FCF3F9Darkest = 950 · #420A32
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F9E6F4;
  --brand-200: #F5C7E8;
  --brand-300: #F39ADA;
  --brand-400: #f07ccf;
  --brand-500: #E836B5;
  --brand-600: #DC19A4;
  --brand-700: #B71589;
  --brand-800: #92116D;
  --brand-900: #6A1050;
  --brand-950: #420A32;
  --brand: #f07ccf;
  --brand-ink: #000000;
}

Colors that work with #f07ccf

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#FAF4F9
Tinted page background
Border#EDC0E0
Hairlines and dividers
Muted text#9B4B84
Captions on the surface
Accent#11BB16
Second voice, not a rival
Dark variant#720D56
Hover, pressed, headers
Light variant#FCE8F7
Selected rows, tints
Dark surface#241420
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 #f07ccf

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#7CF09D
Analogous left#D77CF0
Analogous right#F07C95
Split-complement 1#95F07C
Split-complement 2#7CF0D7
Triadic 1#CFF07C
Triadic 2#7CCFF0
Tetradic#F0D77C

RGB percentages

Red94.1%
Green48.6%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta48.3%
Yellow13.7%
Key (black)5.9%

Color previews

#f07ccf text on a black background

contrast 8.49:1

Card sample

#f07ccf text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f07ccf

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.

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

#f07ccf, answered

What color is #f07ccf?

#f07ccf is a light electric magenta / pink, closest to Violet (ΔE2000 5.8). It sits at 317° on the hue wheel with 80% saturation and 71% lightness, which reads as warm.

What is the RGB value of #f07ccf?

rgb(240, 124, 207) — 240 red, 124 green and 207 blue out of 255, or 94.1% / 48.6% / 81.2% by channel.

Is #f07ccf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3745 and perceived brightness is 69%, so black text on it reaches 8.49:1.

Should I use black or white text on #f07ccf?

Black. It scores 8.49:1 against #f07ccf, versus 2.47:1 for white — AAA at any size.

What is the complementary color of #f07ccf?

#7CF09D sits directly opposite on the wheel. Softer options are the split-complements #95F07C and #7CF0D7, which give the same contrast with far less vibration.

What colors go well with #f07ccf?

For interface work: #FAF4F9 as the surface, #EDC0E0 for borders, #9B4B84 for secondary text, #11BB16 as an accent and #720D56 for hover and pressed states. For a palette, the analogous pair #D77CF0 and #F07C95 stays calm, while #7CF09D is the loudest partner.

What is #f07ccf in CMYK for printing?

cmyk(0%, 48%, 14%, 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 #f07ccf warm or cool?

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

Work with #f07ccf in the Color Lab