Skip to content

#cf2dae

a balanced, vivid magenta / pink · neutral · closest name: Medium Violet Red

RGB
207, 45, 174
HSL
312°, 64%, 49%
CMYK
0, 78, 16, 19
Luminance
0.1820

At a glance

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

Hex
#cf2dae
Hue
312°
magenta / pink
Saturation
64%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1820
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.64:1
Closest name
Medium Violet Red
ΔE2000 7.8
Where it sits
Hue312° of 360°
Saturation64%
Lightness49%
Temperature
Warm ← → Cool43% 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#cf2dae
RGBrgb(207, 45, 174)
HSLhsl(312, 64%, 49%)
CMYKcmyk(0%, 78%, 16%, 19%)
LABlab(49.7 72.7 -31.9)
LCHlch(49.7 79.4 336.3)
OKLCHoklch(0.598 0.232 338.0)
Decimal13577646
Display P3color(display-p3 0.812 0.176 0.682)

Copy-ready code

/* CSS */
color: #cf2dae;
background-color: #cf2dae;
/* Tailwind (arbitrary) */
class="text-[#cf2dae] bg-[#cf2dae]"
/* SCSS */
$brand: #cf2dae;
/* SwiftUI */
Color(red: 0.812, green: 0.176, blue: 0.682)
/* Android */
Color.parseColor("#cf2dae")
/* Flutter */
Color(0xFFCF2DAE)
/* Python / OpenCV (BGR) */
(174, 45, 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 #cf2dae · 4.64:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.53:1
AA pass · AA large pass · AAA fail
Aa
Black text · 4.64:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cf2dae as text scores 4.53:1 on white and 4.64:1 on black.

Accessibility — WCAG contrast

Aa
#cf2dae on white: 4.53:1
AA ✓ pass · AA-large · AAA
Aa
#cf2dae on black: 4.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3566B1
deuteranopia · #6E7FAA
tritanopia · #DB376C

Color scale — 50 to 950

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

#FBF4FA
#F7E8F4
#F1CBE9
#EBA3DC
#E175CB
#D747BA
#cf2dae
#A8248D
#861D71
#611953
#3D1034
Base = 600Lightest = 50 · #FBF4FADarkest = 950 · #3D1034
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F7E8F4;
  --brand-200: #F1CBE9;
  --brand-300: #EBA3DC;
  --brand-400: #E175CB;
  --brand-500: #D747BA;
  --brand-600: #cf2dae;
  --brand-700: #A8248D;
  --brand-800: #861D71;
  --brand-900: #611953;
  --brand-950: #3D1034;
  --brand: #cf2dae;
  --brand-ink: #000000;
}

Colors that work with #cf2dae

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#EDC0E4
Hairlines and dividers
Muted text#9B4B8B
Captions on the surface
Accent#27AC20
Second voice, not a rival
Dark variant#691758
Hover, pressed, headers
Light variant#FAEAF7
Selected rows, tints
Dark surface#241421
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 #cf2dae

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#2DCF4E
Analogous left#9F2DCF
Analogous right#CF2D5D
Split-complement 1#5DCF2D
Split-complement 2#2DCF9F
Triadic 1#AECF2D
Triadic 2#2DAECF
Tetradic#CF9F2D

RGB percentages

Red81.2%
Green17.6%
Blue68.2%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow15.9%
Key (black)18.8%

Color previews

#cf2dae text on a black background

contrast 4.64:1

Card sample

#cf2dae text on a white background

contrast 4.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2dae

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.

#cf2dae 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
ButtonsLinksFocus statesCharts
Print note

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

#cf2dae, answered

What color is #cf2dae?

#cf2dae is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 7.8). It sits at 312° on the hue wheel with 64% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #cf2dae?

rgb(207, 45, 174) — 207 red, 45 green and 174 blue out of 255, or 81.2% / 17.6% / 68.2% by channel.

Is #cf2dae a light or a dark color?

It is a mid-tone. Relative luminance is 0.1820 and perceived brightness is 52%, so black text on it reaches 4.64:1.

Should I use black or white text on #cf2dae?

Black. It scores 4.64:1 against #cf2dae, versus 4.53:1 for white — AA at any size.

What is the complementary color of #cf2dae?

#2DCF4E sits directly opposite on the wheel. Softer options are the split-complements #5DCF2D and #2DCF9F, which give the same contrast with far less vibration.

What colors go well with #cf2dae?

For interface work: #FAF4F9 as the surface, #EDC0E4 for borders, #9B4B8B for secondary text, #27AC20 as an accent and #691758 for hover and pressed states. For a palette, the analogous pair #9F2DCF and #CF2D5D stays calm, while #2DCF4E is the loudest partner.

What is #cf2dae in CMYK for printing?

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

Is #cf2dae warm or cool?

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

Work with #cf2dae in the Color Lab