Skip to content

#cf4aba

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

RGB
207, 74, 186
HSL
310°, 58%, 55%
CMYK
0, 64, 10, 19
Luminance
0.2171

At a glance

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

Hex
#cf4aba
Hue
310°
magenta / pink
Saturation
58%
vivid
Lightness
55%
balanced
Brightness
81%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2171
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.34:1
Closest name
Medium Orchid
ΔE2000 6.6
Where it sits
Hue310° of 360°
Saturation58%
Lightness55%
Temperature
Warm ← → Cool45% 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#cf4aba
RGBrgb(207, 74, 186)
HSLhsl(310, 58%, 55%)
CMYKcmyk(0%, 64%, 10%, 19%)
LABlab(53.7 64.7 -32.7)
LCHlch(53.7 72.5 333.2)
OKLCHoklch(0.628 0.208 334.6)
Decimal13585082
Display P3color(display-p3 0.812 0.290 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4aba on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#cf4aba on black: 5.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4974BD
deuteranopia · #7487B7
tritanopia · #D9537B

Color scale — 50 to 950

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

#FBF4FA
#F7E9F4
#EFCDE9
#E7A6DD
#DC7ACC
#cf4aba
#C233AB
#A12B8E
#812272
#5E1C54
#3B1234
Base = 500Lightest = 50 · #FBF4FADarkest = 950 · #3B1234
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F7E9F4;
  --brand-200: #EFCDE9;
  --brand-300: #E7A6DD;
  --brand-400: #DC7ACC;
  --brand-500: #cf4aba;
  --brand-600: #C233AB;
  --brand-700: #A12B8E;
  --brand-800: #812272;
  --brand-900: #5E1C54;
  --brand-950: #3B1234;
  --brand: #cf4aba;
  --brand-ink: #000000;
}

Colors that work with #cf4aba

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#EDC0E6
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#32A626
Second voice, not a rival
Dark variant#651B59
Hover, pressed, headers
Light variant#FAEBF7
Selected rows, tints
Dark surface#241422
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 #cf4aba

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#4ACF5F
Analogous left#A24ACF
Analogous right#CF4A77
Split-complement 1#77CF4A
Split-complement 2#4ACFA2
Triadic 1#BACF4A
Triadic 2#4ABACF
Tetradic#CFA24A

RGB percentages

Red81.2%
Green29.0%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta64.3%
Yellow10.1%
Key (black)18.8%

Color previews

#cf4aba text on a black background

contrast 5.34:1

Card sample

#cf4aba text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4aba

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.

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

#cf4aba, answered

What color is #cf4aba?

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

What is the RGB value of #cf4aba?

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

Is #cf4aba a light or a dark color?

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

Should I use black or white text on #cf4aba?

Black. It scores 5.34:1 against #cf4aba, versus 3.93:1 for white — AA at any size.

What is the complementary color of #cf4aba?

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

What colors go well with #cf4aba?

For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8E for secondary text, #32A626 as an accent and #651B59 for hover and pressed states. For a palette, the analogous pair #A24ACF and #CF4A77 stays calm, while #4ACF5F is the loudest partner.

What is #cf4aba in CMYK for printing?

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

Is #cf4aba warm or cool?

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

Work with #cf4aba in the Color Lab