Skip to content

#cf2d76

a balanced, vivid magenta / pink · warm · closest name: Medium Violet Red

RGB
207, 45, 118
HSL
333°, 64%, 49%
CMYK
0, 78, 43, 19
Luminance
0.1645

At a glance

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

Hex
#cf2d76
Hue
333°
magenta / pink
Saturation
64%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1645
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.90:1
Closest name
Medium Violet Red
ΔE2000 6.1
Where it sits
Hue333° of 360°
Saturation64%
Lightness49%
Temperature
Warm ← → Cool32% 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#cf2d76
RGBrgb(207, 45, 118)
HSLhsl(333, 64%, 49%)
CMYKcmyk(0%, 78%, 43%, 19%)
LABlab(47.6 66.2 -1.6)
LCHlch(47.6 66.3 358.6)
OKLCHoklch(0.575 0.204 359.0)
Decimal13577590
Display P3color(display-p3 0.812 0.176 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2d76 on white: 4.90:1
AA ✓ pass · AA-large · AAA
Aa
#cf2d76 on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #535D78
deuteranopia · #7F7C72
tritanopia · #E0074E

Color scale — 50 to 950

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

#FBF4F7
#F7E8EF
#F1CBDC
#EBA3C3
#E175A5
#D74788
#cf2d76
#A8245F
#861D4C
#61193A
#3D1024
Base = 600Lightest = 50 · #FBF4F7Darkest = 950 · #3D1024
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F7E8EF;
  --brand-200: #F1CBDC;
  --brand-300: #EBA3C3;
  --brand-400: #E175A5;
  --brand-500: #D74788;
  --brand-600: #cf2d76;
  --brand-700: #A8245F;
  --brand-800: #861D4C;
  --brand-900: #61193A;
  --brand-950: #3D1024;
  --brand: #cf2d76;
  --brand-ink: #ffffff;
}

Colors that work with #cf2d76

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#9B4B6F
Captions on the surface
Accent#20AC4A
Second voice, not a rival
Dark variant#69173C
Hover, pressed, headers
Light variant#FAEAF1
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 #cf2d76

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#2DCF86
Analogous left#CF2DC7
Analogous right#CF352D
Split-complement 1#2DCF35
Split-complement 2#2DC7CF
Triadic 1#76CF2D
Triadic 2#2D76CF
Tetradic#C7CF2D

RGB percentages

Red81.2%
Green17.6%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow43.0%
Key (black)18.8%

Color previews

#cf2d76 text on a black background

contrast 4.29:1

Card sample

#cf2d76 text on a white background

contrast 4.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2d76

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.

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

Converts to four-color process without much drama. Proof it anyway.

#cf2d76, answered

What color is #cf2d76?

#cf2d76 is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 6.1). It sits at 333° on the hue wheel with 64% saturation and 49% lightness, which reads as warm.

What is the RGB value of #cf2d76?

rgb(207, 45, 118) — 207 red, 45 green and 118 blue out of 255, or 81.2% / 17.6% / 46.3% by channel.

Is #cf2d76 a light or a dark color?

It is a dark color. Relative luminance is 0.1645 and perceived brightness is 49%, so white text on it reaches 4.90:1.

Should I use black or white text on #cf2d76?

White. It scores 4.90:1 against #cf2d76, versus 4.29:1 for black — AA at any size.

What is the complementary color of #cf2d76?

#2DCF86 sits directly opposite on the wheel. Softer options are the split-complements #2DCF35 and #2DC7CF, which give the same contrast with far less vibration.

What colors go well with #cf2d76?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6F for secondary text, #20AC4A as an accent and #69173C for hover and pressed states. For a palette, the analogous pair #CF2DC7 and #CF352D stays calm, while #2DCF86 is the loudest partner.

What is #cf2d76 in CMYK for printing?

cmyk(0%, 78%, 43%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cf2d76 warm or cool?

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

Work with #cf2d76 in the Color Lab