Skip to content

#f06cda

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

RGB
240, 108, 218
HSL
310°, 82%, 68%
CMYK
0, 55, 9, 6
Luminance
0.3431

At a glance

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

Hex
#f06cda
Hue
310°
magenta / pink
Saturation
82%
electric
Lightness
68%
light
Brightness
94%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3431
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.86:1
Closest name
Orchid
ΔE2000 3.6
Where it sits
Hue310° of 360°
Saturation82%
Lightness68%
Temperature
Warm ← → Cool44% cool

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

Every format

HEX#f06cda
RGBrgb(240, 108, 218)
HSLhsl(310, 82%, 68%)
CMYKcmyk(0%, 55%, 9%, 6%)
LABlab(65.2 63.9 -32.7)
LCHlch(65.2 71.8 332.9)
OKLCHoklch(0.727 0.205 334.3)
Decimal15756506
Display P3color(display-p3 0.941 0.424 0.855)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f06cda on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#f06cda on black: 7.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6B92DE
deuteranopia · #92A5D6
tritanopia · #FA749A

Color scale — 50 to 950

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

#FCF2FB
#F9E6F6
#F6C6EE
#F599E5
#f06cda
#EA33CC
#DE17BD
#B9139D
#940F7E
#6B0F5C
#430A39
Base = 400Lightest = 50 · #FCF2FBDarkest = 950 · #430A39
:root {
  --brand-50: #FCF2FB;
  --brand-100: #F9E6F6;
  --brand-200: #F6C6EE;
  --brand-300: #F599E5;
  --brand-400: #f06cda;
  --brand-500: #EA33CC;
  --brand-600: #DE17BD;
  --brand-700: #B9139D;
  --brand-800: #940F7E;
  --brand-900: #6B0F5C;
  --brand-950: #430A39;
  --brand: #f06cda;
  --brand-ink: #000000;
}

Colors that work with #f06cda

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#EDC0E5
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#1DBD0F
Second voice, not a rival
Dark variant#740C62
Hover, pressed, headers
Light variant#FDE8F9
Selected rows, tints
Dark surface#241422
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 #f06cda

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#6CF082
Analogous left#C46CF0
Analogous right#F06C98
Split-complement 1#98F06C
Split-complement 2#6CF0C4
Triadic 1#DAF06C
Triadic 2#6CDAF0
Tetradic#F0C46C

RGB percentages

Red94.1%
Green42.4%
Blue85.5%

CMYK percentages

Cyan0.0%
Magenta55.0%
Yellow9.2%
Key (black)5.9%

Color previews

#f06cda text on a black background

contrast 7.86:1

Card sample

#f06cda text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f06cda

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.

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

#f06cda, answered

What color is #f06cda?

#f06cda is a light electric magenta / pink, closest to Orchid (ΔE2000 3.6). It sits at 310° on the hue wheel with 82% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #f06cda?

rgb(240, 108, 218) — 240 red, 108 green and 218 blue out of 255, or 94.1% / 42.4% / 85.5% by channel.

Is #f06cda a light or a dark color?

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

Should I use black or white text on #f06cda?

Black. It scores 7.86:1 against #f06cda, versus 2.67:1 for white — AAA at any size.

What is the complementary color of #f06cda?

#6CF082 sits directly opposite on the wheel. Softer options are the split-complements #98F06C and #6CF0C4, which give the same contrast with far less vibration.

What colors go well with #f06cda?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8E for secondary text, #1DBD0F as an accent and #740C62 for hover and pressed states. For a palette, the analogous pair #C46CF0 and #F06C98 stays calm, while #6CF082 is the loudest partner.

What is #f06cda in CMYK for printing?

cmyk(0%, 55%, 9%, 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 #f06cda warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F06CAA; nudged cooler, #D76AF2.

Work with #f06cda in the Color Lab