Skip to content

#cf0f6d

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

RGB
207, 15, 109
HSL
331°, 87%, 44%
CMYK
0, 93, 47, 19
Luminance
0.1471

At a glance

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

Hex
#cf0f6d
Hue
331°
magenta / pink
Saturation
87%
electric
Lightness
44%
dark
Brightness
81%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1471
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.33:1
Closest name
Medium Violet Red
ΔE2000 6.2
Where it sits
Hue331° of 360°
Saturation87%
Lightness44%
Temperature
Warm ← → Cool33% 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#cf0f6d
RGBrgb(207, 15, 109)
HSLhsl(331, 87%, 44%)
CMYKcmyk(0%, 93%, 47%, 19%)
LABlab(45.2 71.3 0.5)
LCHlch(45.2 71.3 0.4)
OKLCHoklch(0.557 0.220 0.5)
Decimal13569901
Display P3color(display-p3 0.812 0.059 0.427)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0f6d on white: 5.33:1
AA ✓ pass · AA-large · AAA
Aa
#cf0f6d on black: 3.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4A556F
deuteranopia · #7B7769
tritanopia · #E10041

Color scale — 50 to 950

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

#FDF2F7
#FAE5EF
#F7C4DD
#F796C6
#F462A9
#F02E8D
#E41178
#cf0f6d
#980B50
#6E0C3C
#450826
Base = 700Lightest = 50 · #FDF2F7Darkest = 950 · #450826
:root {
  --brand-50: #FDF2F7;
  --brand-100: #FAE5EF;
  --brand-200: #F7C4DD;
  --brand-300: #F796C6;
  --brand-400: #F462A9;
  --brand-500: #F02E8D;
  --brand-600: #E41178;
  --brand-700: #cf0f6d;
  --brand-800: #980B50;
  --brand-900: #6E0C3C;
  --brand-950: #450826;
  --brand: #cf0f6d;
  --brand-ink: #ffffff;
}

Colors that work with #cf0f6d

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#EDC0D6
Hairlines and dividers
Muted text#9B4B72
Captions on the surface
Accent#0AC23A
Second voice, not a rival
Dark variant#77093F
Hover, pressed, headers
Light variant#FDE7F2
Selected rows, tints
Dark surface#24141C
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 #cf0f6d

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#0FCF71
Analogous left#CF0FCD
Analogous right#CF110F
Split-complement 1#0FCF11
Split-complement 2#0FCDCF
Triadic 1#6DCF0F
Triadic 2#0F6DCF
Tetradic#CDCF0F

RGB percentages

Red81.2%
Green5.9%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta92.8%
Yellow47.3%
Key (black)18.8%

Color previews

#cf0f6d text on a black background

contrast 3.94:1

Card sample

#cf0f6d text on a white background

contrast 5.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0f6d

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.

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

#cf0f6d, answered

What color is #cf0f6d?

#cf0f6d is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 6.2). It sits at 331° on the hue wheel with 87% saturation and 44% lightness, which reads as warm.

What is the RGB value of #cf0f6d?

rgb(207, 15, 109) — 207 red, 15 green and 109 blue out of 255, or 81.2% / 5.9% / 42.7% by channel.

Is #cf0f6d a light or a dark color?

It is a dark color. Relative luminance is 0.1471 and perceived brightness is 47%, so white text on it reaches 5.33:1.

Should I use black or white text on #cf0f6d?

White. It scores 5.33:1 against #cf0f6d, versus 3.94:1 for black — AA at any size.

What is the complementary color of #cf0f6d?

#0FCF71 sits directly opposite on the wheel. Softer options are the split-complements #0FCF11 and #0FCDCF, which give the same contrast with far less vibration.

What colors go well with #cf0f6d?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B72 for secondary text, #0AC23A as an accent and #77093F for hover and pressed states. For a palette, the analogous pair #CF0FCD and #CF110F stays calm, while #0FCF71 is the loudest partner.

What is #cf0f6d in CMYK for printing?

cmyk(0%, 93%, 47%, 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 #cf0f6d warm or cool?

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

Work with #cf0f6d in the Color Lab