Skip to content

#cf025d

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

RGB
207, 2, 93
HSL
333°, 98%, 41%
CMYK
0, 99, 55, 19
Luminance
0.1410

At a glance

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

Hex
#cf025d
Hue
333°
magenta / pink
Saturation
98%
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 9.9
Where it sits
Hue333° of 360°
Saturation98%
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#cf025d
RGBrgb(207, 2, 93)
HSLhsl(333, 98%, 41%)
CMYKcmyk(0%, 99%, 55%, 19%)
LABlab(44.4 71.4 9.3)
LCHlch(44.4 72.0 7.4)
OKLCHoklch(0.549 0.220 6.2)
Decimal13566557
Display P3color(display-p3 0.812 0.008 0.365)

Copy-ready code

/* CSS */
color: #cf025d;
background-color: #cf025d;
/* Tailwind (arbitrary) */
class="text-[#cf025d] bg-[#cf025d]"
/* SCSS */
$brand: #cf025d;
/* SwiftUI */
Color(red: 0.812, green: 0.008, blue: 0.365)
/* Android */
Color.parseColor("#cf025d")
/* Flutter */
Color(0xFFCF025D)
/* Python / OpenCV (BGR) */
(93, 2, 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 #cf025d · 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: #cf025d as text scores 5.50:1 on white and 3.82:1 on black.

Accessibility — WCAG contrast

Aa
#cf025d on white: 5.50:1
AA ✓ pass · AA-large · AAA
Aa
#cf025d on black: 3.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4C515E
deuteranopia · #7D7658
tritanopia · #E20036

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf025d 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
#FCE3EE
#FBC1DB
#FE90C1
#FD58A1
#FD2182
#F2026D
#cf025d
#A20249
#740637
#490422
Base = 700Lightest = 50 · #FDF1F7Darkest = 950 · #490422
:root {
  --brand-50: #FDF1F7;
  --brand-100: #FCE3EE;
  --brand-200: #FBC1DB;
  --brand-300: #FE90C1;
  --brand-400: #FD58A1;
  --brand-500: #FD2182;
  --brand-600: #F2026D;
  --brand-700: #cf025d;
  --brand-800: #A20249;
  --brand-900: #740637;
  --brand-950: #490422;
  --brand: #cf025d;
  --brand-ink: #ffffff;
}

Colors that work with #cf025d

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#EDC0D4
Hairlines and dividers
Muted text#9B4B6E
Captions on the surface
Accent#00CC3F
Second voice, not a rival
Dark variant#7E0139
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 #cf025d

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#02CF74
Analogous left#CF02C3
Analogous right#CF0E02
Split-complement 1#02CF0E
Split-complement 2#02C3CF
Triadic 1#5DCF02
Triadic 2#025DCF
Tetradic#C3CF02

RGB percentages

Red81.2%
Green0.8%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta99.0%
Yellow55.1%
Key (black)18.8%

Color previews

#cf025d text on a black background

contrast 3.82:1

Card sample

#cf025d text on a white background

contrast 5.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf025d

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.

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

#cf025d, answered

What color is #cf025d?

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

What is the RGB value of #cf025d?

rgb(207, 2, 93) — 207 red, 2 green and 93 blue out of 255, or 81.2% / 0.8% / 36.5% by channel.

Is #cf025d 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 #cf025d?

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

What is the complementary color of #cf025d?

#02CF74 sits directly opposite on the wheel. Softer options are the split-complements #02CF0E and #02C3CF, which give the same contrast with far less vibration.

What colors go well with #cf025d?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6E for secondary text, #00CC3F as an accent and #7E0139 for hover and pressed states. For a palette, the analogous pair #CF02C3 and #CF0E02 stays calm, while #02CF74 is the loudest partner.

What is #cf025d in CMYK for printing?

cmyk(0%, 99%, 55%, 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 #cf025d 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 #CF0212; nudged cooler, #D100A9.

Work with #cf025d in the Color Lab