Skip to content

#f06ecf

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

RGB
240, 110, 207
HSL
315°, 81%, 69%
CMYK
0, 54, 14, 6
Luminance
0.3418

At a glance

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

Hex
#f06ecf
Hue
315°
magenta / pink
Saturation
81%
electric
Lightness
69%
light
Brightness
94%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3418
WCAG relative
Temperature
Warm
42/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.84:1
Closest name
Orchid
ΔE2000 4.6
Where it sits
Hue315° of 360°
Saturation81%
Lightness69%
Temperature
Warm ← → Cool42% 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#f06ecf
RGBrgb(240, 110, 207)
HSLhsl(315, 81%, 69%)
CMYKcmyk(0%, 54%, 14%, 6%)
LABlab(65.1 61.4 -26.7)
LCHlch(65.1 66.9 336.5)
OKLCHoklch(0.724 0.194 338.2)
Decimal15757007
Display P3color(display-p3 0.941 0.431 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f06ecf on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#f06ecf on black: 7.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7291D2
deuteranopia · #98A5CC
tritanopia · #FC7295

Color scale — 50 to 950

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

#FCF2FA
#F9E6F4
#F6C6EA
#F599DD
#f06ecf
#EA34BC
#DE17AB
#B9138F
#940F72
#6B0F54
#430A34
Base = 400Lightest = 50 · #FCF2FADarkest = 950 · #430A34
:root {
  --brand-50: #FCF2FA;
  --brand-100: #F9E6F4;
  --brand-200: #F6C6EA;
  --brand-300: #F599DD;
  --brand-400: #f06ecf;
  --brand-500: #EA34BC;
  --brand-600: #DE17AB;
  --brand-700: #B9138F;
  --brand-800: #940F72;
  --brand-900: #6B0F54;
  --brand-950: #430A34;
  --brand: #f06ecf;
  --brand-ink: #000000;
}

Colors that work with #f06ecf

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#EDC0E1
Hairlines and dividers
Muted text#9B4B87
Captions on the surface
Accent#0FBD0F
Second voice, not a rival
Dark variant#740C59
Hover, pressed, headers
Light variant#FDE8F7
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 #f06ecf

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#6EF08F
Analogous left#D06EF0
Analogous right#F06E8E
Split-complement 1#8EF06E
Split-complement 2#6EF0D0
Triadic 1#CFF06E
Triadic 2#6ECFF0
Tetradic#F0D06E

RGB percentages

Red94.1%
Green43.1%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta54.2%
Yellow13.7%
Key (black)5.9%

Color previews

#f06ecf text on a black background

contrast 7.84:1

Card sample

#f06ecf text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f06ecf

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.

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

#f06ecf, answered

What color is #f06ecf?

#f06ecf is a light electric magenta / pink, closest to Orchid (ΔE2000 4.6). It sits at 315° on the hue wheel with 81% saturation and 69% lightness, which reads as warm.

What is the RGB value of #f06ecf?

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

Is #f06ecf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3418 and perceived brightness is 67%, so black text on it reaches 7.84:1.

Should I use black or white text on #f06ecf?

Black. It scores 7.84:1 against #f06ecf, versus 2.68:1 for white — AAA at any size.

What is the complementary color of #f06ecf?

#6EF08F sits directly opposite on the wheel. Softer options are the split-complements #8EF06E and #6EF0D0, which give the same contrast with far less vibration.

What colors go well with #f06ecf?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B87 for secondary text, #0FBD0F as an accent and #740C59 for hover and pressed states. For a palette, the analogous pair #D06EF0 and #F06E8E stays calm, while #6EF08F is the loudest partner.

What is #f06ecf in CMYK for printing?

cmyk(0%, 54%, 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 #f06ecf warm or cool?

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

Work with #f06ecf in the Color Lab