Skip to content

#cf035c

a dark, electric magenta / pink · warm · closest name: Medium Violet Red

RGB
207, 3, 92
HSL
334°, 97%, 41%
CMYK
0, 99, 56, 19
Luminance
0.1410

At a glance

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

Hex
#cf035c
Hue
334°
magenta / pink
Saturation
97%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1410
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.50:1
Closest name
Medium Violet Red
ΔE2000 10.2
Where it sits
Hue334° of 360°
Saturation97%
Lightness41%
Temperature
Warm ← → Cool31% 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#cf035c
RGBrgb(207, 3, 92)
HSLhsl(334, 97%, 41%)
CMYKcmyk(0%, 99%, 56%, 19%)
LABlab(44.4 71.2 9.9)
LCHlch(44.4 71.9 7.9)
OKLCHoklch(0.549 0.219 6.6)
Decimal13566812
Display P3color(display-p3 0.812 0.012 0.361)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf035c on white: 5.50:1
AA ✓ pass · AA-large · AAA
Aa
#cf035c on black: 3.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D515D
deuteranopia · #7D7657
tritanopia · #E20035

Color scale — 50 to 950

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

#FDF1F7
#FCE4EE
#FBC1DA
#FD90C0
#FD59A1
#FC2281
#F1046B
#cf035c
#A10248
#740736
#480422
Base = 700Lightest = 50 · #FDF1F7Darkest = 950 · #480422
:root {
  --brand-50: #FDF1F7;
  --brand-100: #FCE4EE;
  --brand-200: #FBC1DA;
  --brand-300: #FD90C0;
  --brand-400: #FD59A1;
  --brand-500: #FC2281;
  --brand-600: #F1046B;
  --brand-700: #cf035c;
  --brand-800: #A10248;
  --brand-900: #740736;
  --brand-950: #480422;
  --brand: #cf035c;
  --brand-ink: #ffffff;
}

Colors that work with #cf035c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F7
Tinted page background
Border#EDC0D3
Hairlines and dividers
Muted text#9B4B6E
Captions on the surface
Accent#00CC40
Second voice, not a rival
Dark variant#7E0238
Hover, pressed, headers
Light variant#FFE6F1
Selected rows, tints
Dark surface#24141B
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 #cf035c

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#03CF76
Analogous left#CF03C2
Analogous right#CF1003
Split-complement 1#03CF10
Split-complement 2#03C2CF
Triadic 1#5CCF03
Triadic 2#035CCF
Tetradic#C2CF03

RGB percentages

Red81.2%
Green1.2%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta98.6%
Yellow55.6%
Key (black)18.8%

Color previews

#cf035c text on a black background

contrast 3.82:1

Card sample

#cf035c text on a white background

contrast 5.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf035c

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.

#cf035c 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cf035c, answered

What color is #cf035c?

#cf035c is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 10.2). It sits at 334° on the hue wheel with 97% saturation and 41% lightness, which reads as warm.

What is the RGB value of #cf035c?

rgb(207, 3, 92) — 207 red, 3 green and 92 blue out of 255, or 81.2% / 1.2% / 36.1% by channel.

Is #cf035c a light or a dark color?

It is a dark color. Relative luminance is 0.1410 and perceived brightness is 46%, so white text on it reaches 5.50:1.

Should I use black or white text on #cf035c?

White. It scores 5.50:1 against #cf035c, versus 3.82:1 for black — AA at any size.

What is the complementary color of #cf035c?

#03CF76 sits directly opposite on the wheel. Softer options are the split-complements #03CF10 and #03C2CF, which give the same contrast with far less vibration.

What colors go well with #cf035c?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6E for secondary text, #00CC40 as an accent and #7E0238 for hover and pressed states. For a palette, the analogous pair #CF03C2 and #CF1003 stays calm, while #03CF76 is the loudest partner.

What is #cf035c in CMYK for printing?

cmyk(0%, 99%, 56%, 19%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cf035c warm or cool?

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

Work with #cf035c in the Color Lab