Skip to content

#cf0992

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

RGB
207, 9, 146
HSL
319°, 92%, 42%
CMYK
0, 96, 30, 19
Luminance
0.1554

At a glance

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

Hex
#cf0992
Hue
319°
magenta / pink
Saturation
92%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1554
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.11:1
Closest name
Medium Violet Red
ΔE2000 2.5
Where it sits
Hue319° of 360°
Saturation92%
Lightness42%
Temperature
Warm ← → Cool40% 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#cf0992
RGBrgb(207, 9, 146)
HSLhsl(319, 92%, 42%)
CMYKcmyk(0%, 96%, 30%, 19%)
LABlab(46.4 75.4 -20.5)
LCHlch(46.4 78.2 344.8)
OKLCHoklch(0.569 0.237 346.8)
Decimal13568402
Display P3color(display-p3 0.812 0.035 0.573)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0992 on white: 5.11:1
AA ✓ pass · AA-large · AAA
Aa
#cf0992 on black: 4.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #385A95
deuteranopia · #71798E
tritanopia · #DE0056

Color scale — 50 to 950

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

#FDF2FA
#FBE4F4
#F9C3E8
#FA93DB
#F85EC8
#F628B6
#EB0AA5
#cf0992
#9C076E
#710A51
#470633
Base = 700Lightest = 50 · #FDF2FADarkest = 950 · #470633
:root {
  --brand-50: #FDF2FA;
  --brand-100: #FBE4F4;
  --brand-200: #F9C3E8;
  --brand-300: #FA93DB;
  --brand-400: #F85EC8;
  --brand-500: #F628B6;
  --brand-600: #EB0AA5;
  --brand-700: #cf0992;
  --brand-800: #9C076E;
  --brand-900: #710A51;
  --brand-950: #470633;
  --brand: #cf0992;
  --brand-ink: #ffffff;
}

Colors that work with #cf0992

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#FAF4F9
Tinted page background
Border#EDC0DF
Hairlines and dividers
Muted text#9B4B82
Captions on the surface
Accent#05C710
Second voice, not a rival
Dark variant#7A0556
Hover, pressed, headers
Light variant#FEE7F7
Selected rows, tints
Dark surface#24141F
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 #cf0992

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#09CF46
Analogous left#A909CF
Analogous right#CF092F
Split-complement 1#2FCF09
Split-complement 2#09CFA9
Triadic 1#92CF09
Triadic 2#0992CF
Tetradic#CFA909

RGB percentages

Red81.2%
Green3.5%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta95.7%
Yellow29.5%
Key (black)18.8%

Color previews

#cf0992 text on a black background

contrast 4.11:1

Card sample

#cf0992 text on a white background

contrast 5.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0992

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.

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

#cf0992, answered

What color is #cf0992?

#cf0992 is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 2.5). It sits at 319° on the hue wheel with 92% saturation and 42% lightness, which reads as warm.

What is the RGB value of #cf0992?

rgb(207, 9, 146) — 207 red, 9 green and 146 blue out of 255, or 81.2% / 3.5% / 57.3% by channel.

Is #cf0992 a light or a dark color?

It is a dark color. Relative luminance is 0.1554 and perceived brightness is 48%, so white text on it reaches 5.11:1.

Should I use black or white text on #cf0992?

White. It scores 5.11:1 against #cf0992, versus 4.11:1 for black — AA at any size.

What is the complementary color of #cf0992?

#09CF46 sits directly opposite on the wheel. Softer options are the split-complements #2FCF09 and #09CFA9, which give the same contrast with far less vibration.

What colors go well with #cf0992?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B82 for secondary text, #05C710 as an accent and #7A0556 for hover and pressed states. For a palette, the analogous pair #A909CF and #CF092F stays calm, while #09CF46 is the loudest partner.

What is #cf0992 in CMYK for printing?

cmyk(0%, 96%, 30%, 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 #cf0992 warm or cool?

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

Work with #cf0992 in the Color Lab