Skip to content

#f06cdc

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

RGB
240, 108, 220
HSL
309°, 82%, 68%
CMYK
0, 55, 8, 6
Luminance
0.3442

At a glance

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

Hex
#f06cdc
Hue
309°
magenta / pink
Saturation
82%
electric
Lightness
68%
light
Brightness
94%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3442
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.88:1
Closest name
Orchid
ΔE2000 3.5
Where it sits
Hue309° of 360°
Saturation82%
Lightness68%
Temperature
Warm ← → Cool45% 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#f06cdc
RGBrgb(240, 108, 220)
HSLhsl(309, 82%, 68%)
CMYKcmyk(0%, 55%, 8%, 6%)
LABlab(65.3 64.3 -33.7)
LCHlch(65.3 72.5 332.4)
OKLCHoklch(0.727 0.207 333.7)
Decimal15756508
Display P3color(display-p3 0.941 0.424 0.863)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f06cdc on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#f06cdc on black: 7.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6A92E0
deuteranopia · #92A6D8
tritanopia · #FA759A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f06cdc 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
#F599E7
#f06cdc
#EA33CF
#DE17C0
#B913A0
#940F80
#6B0F5D
#430A3A
Base = 400Lightest = 50 · #FCF2FBDarkest = 950 · #430A3A
:root {
  --brand-50: #FCF2FB;
  --brand-100: #F9E6F6;
  --brand-200: #F6C6EE;
  --brand-300: #F599E7;
  --brand-400: #f06cdc;
  --brand-500: #EA33CF;
  --brand-600: #DE17C0;
  --brand-700: #B913A0;
  --brand-800: #940F80;
  --brand-900: #6B0F5D;
  --brand-950: #430A3A;
  --brand: #f06cdc;
  --brand-ink: #000000;
}

Colors that work with #f06cdc

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#EDC0E6
Hairlines and dividers
Muted text#9B4B8F
Captions on the surface
Accent#20BD0F
Second voice, not a rival
Dark variant#740C64
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 #f06cdc

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#6CF080
Analogous left#C26CF0
Analogous right#F06C9A
Split-complement 1#9AF06C
Split-complement 2#6CF0C2
Triadic 1#DCF06C
Triadic 2#6CDCF0
Tetradic#F0C26C

RGB percentages

Red94.1%
Green42.4%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta55.0%
Yellow8.3%
Key (black)5.9%

Color previews

#f06cdc text on a black background

contrast 7.88:1

Card sample

#f06cdc text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f06cdc

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.

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

#f06cdc, answered

What color is #f06cdc?

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

What is the RGB value of #f06cdc?

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

Is #f06cdc a light or a dark color?

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

Should I use black or white text on #f06cdc?

Black. It scores 7.88:1 against #f06cdc, versus 2.66:1 for white — AAA at any size.

What is the complementary color of #f06cdc?

#6CF080 sits directly opposite on the wheel. Softer options are the split-complements #9AF06C and #6CF0C2, which give the same contrast with far less vibration.

What colors go well with #f06cdc?

For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8F for secondary text, #20BD0F as an accent and #740C64 for hover and pressed states. For a palette, the analogous pair #C26CF0 and #F06C9A stays calm, while #6CF080 is the loudest partner.

What is #f06cdc in CMYK for printing?

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

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

Work with #f06cdc in the Color Lab