Skip to content

#cf0f82

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

RGB
207, 15, 130
HSL
324°, 87%, 44%
CMYK
0, 93, 37, 19
Luminance
0.1522

At a glance

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

Hex
#cf0f82
Hue
324°
magenta / pink
Saturation
87%
electric
Lightness
44%
dark
Brightness
81%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1522
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.19:1
Closest name
Medium Violet Red
ΔE2000 2
Where it sits
Hue324° of 360°
Saturation87%
Lightness44%
Temperature
Warm ← → Cool37% 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#cf0f82
RGBrgb(207, 15, 130)
HSLhsl(324, 87%, 44%)
CMYKcmyk(0%, 93%, 37%, 19%)
LABlab(45.9 73.2 -11.4)
LCHlch(45.9 74.1 351.1)
OKLCHoklch(0.564 0.228 352.6)
Decimal13569922
Display P3color(display-p3 0.812 0.059 0.510)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0f82 on white: 5.19:1
AA ✓ pass · AA-large · AAA
Aa
#cf0f82 on black: 4.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #425884
deuteranopia · #76787E
tritanopia · #E0004D

Color scale — 50 to 950

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

#FDF2F8
#FAE5F2
#F7C4E3
#F796D0
#F462B9
#F02EA2
#E4118F
#cf0f82
#980B5F
#6E0C47
#45082C
Base = 700Lightest = 50 · #FDF2F8Darkest = 950 · #45082C
:root {
  --brand-50: #FDF2F8;
  --brand-100: #FAE5F2;
  --brand-200: #F7C4E3;
  --brand-300: #F796D0;
  --brand-400: #F462B9;
  --brand-500: #F02EA2;
  --brand-600: #E4118F;
  --brand-700: #cf0f82;
  --brand-800: #980B5F;
  --brand-900: #6E0C47;
  --brand-950: #45082C;
  --brand: #cf0f82;
  --brand-ink: #ffffff;
}

Colors that work with #cf0f82

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#FAF4F8
Tinted page background
Border#EDC0DB
Hairlines and dividers
Muted text#9B4B7B
Captions on the surface
Accent#0AC226
Second voice, not a rival
Dark variant#77094B
Hover, pressed, headers
Light variant#FDE7F4
Selected rows, tints
Dark surface#24141E
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 #cf0f82

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#0FCF5C
Analogous left#BC0FCF
Analogous right#CF0F22
Split-complement 1#22CF0F
Split-complement 2#0FCFBC
Triadic 1#82CF0F
Triadic 2#0F82CF
Tetradic#CFBC0F

RGB percentages

Red81.2%
Green5.9%
Blue51.0%

CMYK percentages

Cyan0.0%
Magenta92.8%
Yellow37.2%
Key (black)18.8%

Color previews

#cf0f82 text on a black background

contrast 4.04:1

Card sample

#cf0f82 text on a white background

contrast 5.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0f82

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.

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

#cf0f82, answered

What color is #cf0f82?

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

What is the RGB value of #cf0f82?

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

Is #cf0f82 a light or a dark color?

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

Should I use black or white text on #cf0f82?

White. It scores 5.19:1 against #cf0f82, versus 4.04:1 for black — AA at any size.

What is the complementary color of #cf0f82?

#0FCF5C sits directly opposite on the wheel. Softer options are the split-complements #22CF0F and #0FCFBC, which give the same contrast with far less vibration.

What colors go well with #cf0f82?

For interface work: #FAF4F8 as the surface, #EDC0DB for borders, #9B4B7B for secondary text, #0AC226 as an accent and #77094B for hover and pressed states. For a palette, the analogous pair #BC0FCF and #CF0F22 stays calm, while #0FCF5C is the loudest partner.

What is #cf0f82 in CMYK for printing?

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

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

Work with #cf0f82 in the Color Lab