Skip to content

#cf4aaa

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

RGB
207, 74, 170
HSL
317°, 58%, 55%
CMYK
0, 64, 18, 19
Luminance
0.2107

At a glance

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

Hex
#cf4aaa
Hue
317°
magenta / pink
Saturation
58%
vivid
Lightness
55%
balanced
Brightness
81%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2107
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.21:1
Closest name
Medium Orchid
ΔE2000 9.4
Where it sits
Hue317° of 360°
Saturation58%
Lightness55%
Temperature
Warm ← → Cool41% 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#cf4aaa
RGBrgb(207, 74, 170)
HSLhsl(317, 58%, 55%)
CMYKcmyk(0%, 64%, 18%, 19%)
LABlab(53.0 62.4 -24.5)
LCHlch(53.0 67.0 338.5)
OKLCHoklch(0.621 0.197 340.4)
Decimal13585066
Display P3color(display-p3 0.812 0.290 0.667)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4aaa on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#cf4aaa on black: 5.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5271AD
deuteranopia · #7B86A7
tritanopia · #DB4D73

Color scale — 50 to 950

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

#FBF4F9
#F7E9F3
#EFCDE5
#E7A6D5
#DC7AC1
#cf4aaa
#C2339A
#A12B80
#812267
#5E1C4C
#3B122F
Base = 500Lightest = 50 · #FBF4F9Darkest = 950 · #3B122F
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F7E9F3;
  --brand-200: #EFCDE5;
  --brand-300: #E7A6D5;
  --brand-400: #DC7AC1;
  --brand-500: #cf4aaa;
  --brand-600: #C2339A;
  --brand-700: #A12B80;
  --brand-800: #812267;
  --brand-900: #5E1C4C;
  --brand-950: #3B122F;
  --brand: #cf4aaa;
  --brand-ink: #000000;
}

Colors that work with #cf4aaa

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#EDC0E0
Hairlines and dividers
Muted text#9B4B85
Captions on the surface
Accent#26A62A
Second voice, not a rival
Dark variant#651B50
Hover, pressed, headers
Light variant#FAEBF6
Selected rows, tints
Dark surface#241420
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 #cf4aaa

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

Works well for
  • 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
Use with care
  • 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#4ACF6F
Analogous left#B24ACF
Analogous right#CF4A67
Split-complement 1#67CF4A
Split-complement 2#4ACFB2
Triadic 1#AACF4A
Triadic 2#4AAACF
Tetradic#CFB24A

RGB percentages

Red81.2%
Green29.0%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta64.3%
Yellow17.9%
Key (black)18.8%

Color previews

#cf4aaa text on a black background

contrast 5.21:1

Card sample

#cf4aaa text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4aaa

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.

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

#cf4aaa, answered

What color is #cf4aaa?

#cf4aaa is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 9.4). It sits at 317° on the hue wheel with 58% saturation and 55% lightness, which reads as warm.

What is the RGB value of #cf4aaa?

rgb(207, 74, 170) — 207 red, 74 green and 170 blue out of 255, or 81.2% / 29% / 66.7% by channel.

Is #cf4aaa a light or a dark color?

It is a mid-tone. Relative luminance is 0.2107 and perceived brightness is 55%, so black text on it reaches 5.21:1.

Should I use black or white text on #cf4aaa?

Black. It scores 5.21:1 against #cf4aaa, versus 4.03:1 for white — AA at any size.

What is the complementary color of #cf4aaa?

#4ACF6F sits directly opposite on the wheel. Softer options are the split-complements #67CF4A and #4ACFB2, which give the same contrast with far less vibration.

What colors go well with #cf4aaa?

For interface work: #FAF4F9 as the surface, #EDC0E0 for borders, #9B4B85 for secondary text, #26A62A as an accent and #651B50 for hover and pressed states. For a palette, the analogous pair #B24ACF and #CF4A67 stays calm, while #4ACF6F is the loudest partner.

What is #cf4aaa in CMYK for printing?

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

Is #cf4aaa warm or cool?

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

Work with #cf4aaa in the Color Lab