Skip to content

#cf7ed2

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

RGB
207, 126, 210
HSL
298°, 48%, 66%
CMYK
1, 40, 0, 18
Luminance
0.3284

At a glance

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

Hex
#cf7ed2
Hue
298°
magenta / pink
Saturation
48%
vivid
Lightness
66%
light
Brightness
82%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3284
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.57:1
Closest name
Orchid
ΔE2000 3.5
Where it sits
Hue298° of 360°
Saturation48%
Lightness66%
Temperature
Warm ← → Cool51% 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#cf7ed2
RGBrgb(207, 126, 210)
HSLhsl(298, 48%, 66%)
CMYKcmyk(1%, 40%, 0%, 18%)
LABlab(64.0 44.2 -30.4)
LCHlch(64.0 53.6 325.5)
OKLCHoklch(0.708 0.147 325.7)
Decimal13598418
Display P3color(display-p3 0.812 0.494 0.824)

Copy-ready code

/* CSS */
color: #cf7ed2;
background-color: #cf7ed2;
/* Tailwind (arbitrary) */
class="text-[#cf7ed2] bg-[#cf7ed2]"
/* SCSS */
$brand: #cf7ed2;
/* SwiftUI */
Color(red: 0.812, green: 0.494, blue: 0.824)
/* Android */
Color.parseColor("#cf7ed2")
/* Flutter */
Color(0xFFCF7ED2)
/* Python / OpenCV (BGR) */
(210, 126, 207)

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 #cf7ed2 · 7.57:1
Use #000000AAA at every size.
Aa
White text · 2.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.57:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cf7ed2 as text scores 2.77:1 on white and 7.57:1 on black.

Accessibility — WCAG contrast

Aa
#cf7ed2 on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#cf7ed2 on black: 7.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7695D5
deuteranopia · #8C9FCF
tritanopia · #D3879E

Color scale — 50 to 950

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

#FAF4FA
#F5EAF5
#EBD0EC
#E0ACE2
#cf7ed2
#C159C5
#B13FB6
#943597
#762A79
#562258
#361537
Base = 400Lightest = 50 · #FAF4FADarkest = 950 · #361537
:root {
  --brand-50: #FAF4FA;
  --brand-100: #F5EAF5;
  --brand-200: #EBD0EC;
  --brand-300: #E0ACE2;
  --brand-400: #cf7ed2;
  --brand-500: #C159C5;
  --brand-600: #B13FB6;
  --brand-700: #943597;
  --brand-800: #762A79;
  --brand-900: #562258;
  --brand-950: #361537;
  --brand: #cf7ed2;
  --brand-ink: #000000;
}

Colors that work with #cf7ed2

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#FAF4FA
Tinted page background
Border#E9C2EA
Hairlines and dividers
Muted text#984B9B
Captions on the surface
Accent#4E9C30
Second voice, not a rival
Dark variant#5C215F
Hover, pressed, headers
Light variant#F8ECF8
Selected rows, tints
Dark surface#241424
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 #cf7ed2

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#81D27E
Analogous left#A57ED2
Analogous right#D27EAB
Split-complement 1#ABD27E
Split-complement 2#7ED2A5
Triadic 1#D2CF7E
Triadic 2#7ED2CF
Tetradic#D2A57E

RGB percentages

Red81.2%
Green49.4%
Blue82.4%

CMYK percentages

Cyan1.4%
Magenta40.0%
Yellow0.0%
Key (black)17.6%

Color previews

#cf7ed2 text on a black background

contrast 7.57:1

Card sample

#cf7ed2 text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf7ed2

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.

#cf7ed2 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

Converts to four-color process without much drama. Proof it anyway.

#cf7ed2, answered

What color is #cf7ed2?

#cf7ed2 is a light vivid magenta / pink, closest to Orchid (ΔE2000 3.5). It sits at 298° on the hue wheel with 48% saturation and 66% lightness, which reads as neutral.

What is the RGB value of #cf7ed2?

rgb(207, 126, 210) — 207 red, 126 green and 210 blue out of 255, or 81.2% / 49.4% / 82.4% by channel.

Is #cf7ed2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3284 and perceived brightness is 65%, so black text on it reaches 7.57:1.

Should I use black or white text on #cf7ed2?

Black. It scores 7.57:1 against #cf7ed2, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #cf7ed2?

#81D27E sits directly opposite on the wheel. Softer options are the split-complements #ABD27E and #7ED2A5, which give the same contrast with far less vibration.

What colors go well with #cf7ed2?

For interface work: #FAF4FA as the surface, #E9C2EA for borders, #984B9B for secondary text, #4E9C30 as an accent and #5C215F for hover and pressed states. For a palette, the analogous pair #A57ED2 and #D27EAB stays calm, while #81D27E is the loudest partner.

What is #cf7ed2 in CMYK for printing?

cmyk(1%, 40%, 0%, 18%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cf7ed2 warm or cool?

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

Work with #cf7ed2 in the Color Lab