Skip to content

#cf7ab2

a balanced, vivid magenta / pink · warm · closest name: Orchid

RGB
207, 122, 178
HSL
321°, 47%, 65%
CMYK
0, 41, 14, 19
Luminance
0.3040

At a glance

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

Hex
#cf7ab2
Hue
321°
magenta / pink
Saturation
47%
vivid
Lightness
65%
balanced
Brightness
81%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3040
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.08:1
Closest name
Orchid
ΔE2000 8
Where it sits
Hue321° of 360°
Saturation47%
Lightness65%
Temperature
Warm ← → Cool39% cool

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

Every format

HEX#cf7ab2
RGBrgb(207, 122, 178)
HSLhsl(321, 47%, 65%)
CMYKcmyk(0%, 41%, 14%, 19%)
LABlab(62.0 40.8 -15.4)
LCHlch(62.0 43.6 339.3)
OKLCHoklch(0.689 0.126 341.1)
Decimal13597362
Display P3color(display-p3 0.812 0.478 0.698)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf7ab2 on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#cf7ab2 on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7E8EB4
deuteranopia · #949BB0
tritanopia · #D87B8F

Color scale — 50 to 950

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

#FAF5F8
#F5EAF1
#ECD0E2
#E1ADCF
#cf7ab2
#C45A9F
#B4418D
#963675
#782B5E
#582346
#37162B
Base = 400Lightest = 50 · #FAF5F8Darkest = 950 · #37162B
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EAF1;
  --brand-200: #ECD0E2;
  --brand-300: #E1ADCF;
  --brand-400: #cf7ab2;
  --brand-500: #C45A9F;
  --brand-600: #B4418D;
  --brand-700: #963675;
  --brand-800: #782B5E;
  --brand-900: #582346;
  --brand-950: #37162B;
  --brand: #cf7ab2;
  --brand-ink: #000000;
}

Colors that work with #cf7ab2

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#FAF4F8
Tinted page background
Border#E9C3DC
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#329A3C
Second voice, not a rival
Dark variant#5E2249
Hover, pressed, headers
Light variant#F8ECF4
Selected rows, tints
Dark surface#24141F
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 #cf7ab2

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
  • 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
  • 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#7ACF97
Analogous left#C27ACF
Analogous right#CF7A87
Split-complement 1#87CF7A
Split-complement 2#7ACFC2
Triadic 1#B2CF7A
Triadic 2#7AB2CF
Tetradic#CFC27A

RGB percentages

Red81.2%
Green47.8%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta41.1%
Yellow14.0%
Key (black)18.8%

Color previews

#cf7ab2 text on a black background

contrast 7.08:1

Card sample

#cf7ab2 text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf7ab2

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.

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

#cf7ab2, answered

What color is #cf7ab2?

#cf7ab2 is a balanced vivid magenta / pink, closest to Orchid (ΔE2000 8). It sits at 321° on the hue wheel with 47% saturation and 65% lightness, which reads as warm.

What is the RGB value of #cf7ab2?

rgb(207, 122, 178) — 207 red, 122 green and 178 blue out of 255, or 81.2% / 47.8% / 69.8% by channel.

Is #cf7ab2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3040 and perceived brightness is 62%, so black text on it reaches 7.08:1.

Should I use black or white text on #cf7ab2?

Black. It scores 7.08:1 against #cf7ab2, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #cf7ab2?

#7ACF97 sits directly opposite on the wheel. Softer options are the split-complements #87CF7A and #7ACFC2, which give the same contrast with far less vibration.

What colors go well with #cf7ab2?

For interface work: #FAF4F8 as the surface, #E9C3DC for borders, #9B4B7F for secondary text, #329A3C as an accent and #5E2249 for hover and pressed states. For a palette, the analogous pair #C27ACF and #CF7A87 stays calm, while #7ACF97 is the loudest partner.

What is #cf7ab2 in CMYK for printing?

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

Is #cf7ab2 warm or cool?

Warm — it scores 39 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF7A93; nudged cooler, #CF78D1.

Work with #cf7ab2 in the Color Lab