Skip to content

#cd0b7f

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

RGB
205, 11, 127
HSL
324°, 90%, 42%
CMYK
0, 95, 38, 20
Luminance
0.1475

At a glance

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

Hex
#cd0b7f
Hue
324°
magenta / pink
Saturation
90%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1475
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.32:1
Closest name
Medium Violet Red
ΔE2000 2
Where it sits
Hue324° of 360°
Saturation90%
Lightness42%
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#cd0b7f
RGBrgb(205, 11, 127)
HSLhsl(324, 90%, 42%)
CMYKcmyk(0%, 95%, 38%, 20%)
LABlab(45.3 72.9 -10.6)
LCHlch(45.3 73.7 351.7)
OKLCHoklch(0.558 0.227 353.1)
Decimal13437823
Display P3color(display-p3 0.804 0.043 0.498)

Copy-ready code

/* CSS */
color: #cd0b7f;
background-color: #cd0b7f;
/* Tailwind (arbitrary) */
class="text-[#cd0b7f] bg-[#cd0b7f]"
/* SCSS */
$brand: #cd0b7f;
/* SwiftUI */
Color(red: 0.804, green: 0.043, blue: 0.498)
/* Android */
Color.parseColor("#cd0b7f")
/* Flutter */
Color(0xFFCD0B7F)
/* Python / OpenCV (BGR) */
(127, 11, 205)

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 #cd0b7f · 5.32:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.32:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.95:1
AA fail · AA large pass · AAA fail
Reading the other direction: #cd0b7f as text scores 5.32:1 on white and 3.95:1 on black.

Accessibility — WCAG contrast

Aa
#cd0b7f on white: 5.32:1
AA ✓ pass · AA-large · AAA
Aa
#cd0b7f on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #415681
deuteranopia · #75777B
tritanopia · #DE004B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd0b7f 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
#FBE5F2
#F8C3E3
#F995D1
#F65FBA
#F42AA3
#E80C90
#cd0b7f
#9B0860
#700B47
#46072C
Base = 700Lightest = 50 · #FDF2F8Darkest = 950 · #46072C
:root {
  --brand-50: #FDF2F8;
  --brand-100: #FBE5F2;
  --brand-200: #F8C3E3;
  --brand-300: #F995D1;
  --brand-400: #F65FBA;
  --brand-500: #F42AA3;
  --brand-600: #E80C90;
  --brand-700: #cd0b7f;
  --brand-800: #9B0860;
  --brand-900: #700B47;
  --brand-950: #46072C;
  --brand: #cd0b7f;
  --brand-ink: #ffffff;
}

Colors that work with #cd0b7f

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#07C523
Second voice, not a rival
Dark variant#79074B
Hover, pressed, headers
Light variant#FEE7F5
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 #cd0b7f

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#0BCD59
Analogous left#BA0BCD
Analogous right#CD0B1E
Split-complement 1#1ECD0B
Split-complement 2#0BCDBA
Triadic 1#7FCD0B
Triadic 2#0B7FCD
Tetradic#CDBA0B

RGB percentages

Red80.4%
Green4.3%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta94.6%
Yellow38.0%
Key (black)19.6%

Color previews

#cd0b7f text on a black background

contrast 3.95:1

Card sample

#cd0b7f text on a white background

contrast 5.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 11, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 11, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd0b7f;
background: linear-gradient(135deg, #cd0b7f, #CD180B);

Monochromatic scale

Palettes built from #cd0b7f

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.

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

#cd0b7f, answered

What color is #cd0b7f?

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

What is the RGB value of #cd0b7f?

rgb(205, 11, 127) — 205 red, 11 green and 127 blue out of 255, or 80.4% / 4.3% / 49.8% by channel.

Is #cd0b7f a light or a dark color?

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

Should I use black or white text on #cd0b7f?

White. It scores 5.32:1 against #cd0b7f, versus 3.95:1 for black — AA at any size.

What is the complementary color of #cd0b7f?

#0BCD59 sits directly opposite on the wheel. Softer options are the split-complements #1ECD0B and #0BCDBA, which give the same contrast with far less vibration.

What colors go well with #cd0b7f?

For interface work: #FAF4F8 as the surface, #EDC0DB for borders, #9B4B7B for secondary text, #07C523 as an accent and #79074B for hover and pressed states. For a palette, the analogous pair #BA0BCD and #CD0B1E stays calm, while #0BCD59 is the loudest partner.

What is #cd0b7f in CMYK for printing?

cmyk(0%, 95%, 38%, 20%). 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 #cd0b7f 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 #CD0B38; nudged cooler, #CF09C8.

Work with #cd0b7f in the Color Lab