#cf7aa2
a balanced, vivid magenta / pink · warm · closest name: Pale Violet Red
At a glance
Every number on this page in one read: what #cf7aa2 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cf7aa2 |
| RGB | rgb(207, 122, 162) |
| HSL | hsl(332, 47%, 65%) |
| CMYK | cmyk(0%, 41%, 22%, 19%) |
| LAB | lab(61.5 38.3 -7.1) |
| LCH | lch(61.5 38.9 349.5) |
| OKLCH | oklch(0.683 0.116 351.0) |
| Decimal | 13597346 |
| Display P3 | color(display-p3 0.812 0.478 0.635) |
Copy-ready code
/* CSS */
color: #cf7aa2;
background-color: #cf7aa2;
/* Tailwind (arbitrary) */
class="text-[#cf7aa2] bg-[#cf7aa2]"
/* SCSS */
$brand: #cf7aa2;
/* SwiftUI */
Color(red: 0.812, green: 0.478, blue: 0.635)
/* Android */
Color.parseColor("#cf7aa2")
/* Flutter */
Color(0xFFCF7AA2)
/* Python / OpenCV (BGR) */
(162, 122, 207)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cf7aa2 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.
:root {
--brand-50: #FAF5F7;
--brand-100: #F5EAEF;
--brand-200: #ECD0DD;
--brand-300: #E1ADC5;
--brand-400: #cf7aa2;
--brand-500: #C45A8C;
--brand-600: #B44177;
--brand-700: #963663;
--brand-800: #782B4F;
--brand-900: #58233C;
--brand-950: #371625;
--brand: #cf7aa2;
--brand-ink: #000000;
}Colors that work with #cf7aa2
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cf7aa2
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up 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
- ⚠Small text on white — under 4.5:1
- ⚠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 | #7ACFA7 | Directly opposite — maximum tension | |
| Analogous left | #CF7ACC | Neighbour, quieter | |
| Analogous right | #CF7C7A | Neighbour, quieter | |
| Split-complement 1 | #7ACF7C | Contrast without the clash | |
| Split-complement 2 | #7ACCCF | Contrast without the clash | |
| Triadic 1 | #A2CF7A | Even thirds — balanced and loud | |
| Triadic 2 | #7AA2CF | Even thirds — balanced and loud | |
| Tetradic | #CCCF7A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cf7aa2 text on a black background
contrast 6.96:1
#cf7aa2 text on a white background
contrast 3.02:1
CSS3 live lab
The quick brown fox
color: #cf7aa2;
background-color: #cf7aa2;
Glowing headline
text-shadow: 2px 2px 8px #cf7aa2;
Soft neon halo
text-shadow: 0 0 14px rgba(207, 122, 162, 0.45);
box-shadow: 0 12px 32px -8px rgba(207, 122, 162, 0.45);
border: 3px solid #cf7aa2; background: linear-gradient(135deg, #cf7aa2, #CF8B7A);
Monochromatic scale
Palettes built from #cf7aa2
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.
Closest color with a full write-up: Hot Pink (#ff69b4) — ΔE2000 8.5 away, with its history, psychology and brand usage.
#cf7aa2 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cf7aa2, answered
What color is #cf7aa2?
#cf7aa2 is a balanced vivid magenta / pink, closest to Pale Violet Red (ΔE2000 4.9). It sits at 332° on the hue wheel with 47% saturation and 65% lightness, which reads as warm.
What is the RGB value of #cf7aa2?
rgb(207, 122, 162) — 207 red, 122 green and 162 blue out of 255, or 81.2% / 47.8% / 63.5% by channel.
Is #cf7aa2 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2979 and perceived brightness is 61%, so black text on it reaches 6.96:1.
Should I use black or white text on #cf7aa2?
Black. It scores 6.96:1 against #cf7aa2, versus 3.02:1 for white — AA at any size.
What is the complementary color of #cf7aa2?
#7ACFA7 sits directly opposite on the wheel. Softer options are the split-complements #7ACF7C and #7ACCCF, which give the same contrast with far less vibration.
What colors go well with #cf7aa2?
For interface work: #FAF4F7 as the surface, #E9C3D5 for borders, #9B4B70 for secondary text, #329A4F as an accent and #5E223E for hover and pressed states. For a palette, the analogous pair #CF7ACC and #CF7C7A stays calm, while #7ACFA7 is the loudest partner.
What is #cf7aa2 in CMYK for printing?
cmyk(0%, 41%, 22%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cf7aa2 warm or cool?
Warm — it scores 32 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF7A83; nudged cooler, #D178C2.