Skip to content

#cd147a

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

RGB
205, 20, 122
HSL
327°, 82%, 44%
CMYK
0, 90, 41, 20
Luminance
0.1488

At a glance

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

Hex
#cd147a
Hue
327°
magenta / pink
Saturation
82%
electric
Lightness
44%
dark
Brightness
80%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1488
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.28:1
Closest name
Medium Violet Red
ΔE2000 3.2
Where it sits
Hue327° of 360°
Saturation82%
Lightness44%
Temperature
Warm ← → Cool35% 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#cd147a
RGBrgb(205, 20, 122)
HSLhsl(327, 82%, 44%)
CMYKcmyk(0%, 90%, 41%, 20%)
LABlab(45.5 71.4 -7.2)
LCHlch(45.5 71.8 354.2)
OKLCHoklch(0.559 0.221 355.3)
Decimal13440122
Display P3color(display-p3 0.804 0.078 0.478)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd147a on white: 5.28:1
AA ✓ pass · AA-large · AAA
Aa
#cd147a on black: 3.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #46577C
deuteranopia · #777776
tritanopia · #DE0049

Color scale — 50 to 950

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

#FCF2F8
#FAE6F1
#F6C6E0
#F599CC
#F066B2
#EB3398
#cd147a
#BA126F
#950F59
#6B0F42
#430929
Base = 600Lightest = 50 · #FCF2F8Darkest = 950 · #430929
:root {
  --brand-50: #FCF2F8;
  --brand-100: #FAE6F1;
  --brand-200: #F6C6E0;
  --brand-300: #F599CC;
  --brand-400: #F066B2;
  --brand-500: #EB3398;
  --brand-600: #cd147a;
  --brand-700: #BA126F;
  --brand-800: #950F59;
  --brand-900: #6B0F42;
  --brand-950: #430929;
  --brand: #cd147a;
  --brand-ink: #ffffff;
}

Colors that work with #cd147a

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#EDC0D9
Hairlines and dividers
Muted text#9B4B77
Captions on the surface
Accent#0EBE31
Second voice, not a rival
Dark variant#740B45
Hover, pressed, headers
Light variant#FDE8F3
Selected rows, tints
Dark surface#24141D
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 #cd147a

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#14CD67
Analogous left#C314CD
Analogous right#CD141E
Split-complement 1#1ECD14
Split-complement 2#14CDC3
Triadic 1#7ACD14
Triadic 2#147ACD
Tetradic#CDC314

RGB percentages

Red80.4%
Green7.8%
Blue47.8%

CMYK percentages

Cyan0.0%
Magenta90.2%
Yellow40.5%
Key (black)19.6%

Color previews

#cd147a text on a black background

contrast 3.98:1

Card sample

#cd147a text on a white background

contrast 5.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd147a

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.

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

#cd147a, answered

What color is #cd147a?

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

What is the RGB value of #cd147a?

rgb(205, 20, 122) — 205 red, 20 green and 122 blue out of 255, or 80.4% / 7.8% / 47.8% by channel.

Is #cd147a a light or a dark color?

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

Should I use black or white text on #cd147a?

White. It scores 5.28:1 against #cd147a, versus 3.98:1 for black — AA at any size.

What is the complementary color of #cd147a?

#14CD67 sits directly opposite on the wheel. Softer options are the split-complements #1ECD14 and #14CDC3, which give the same contrast with far less vibration.

What colors go well with #cd147a?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B77 for secondary text, #0EBE31 as an accent and #740B45 for hover and pressed states. For a palette, the analogous pair #C314CD and #CD141E stays calm, while #14CD67 is the loudest partner.

What is #cd147a in CMYK for printing?

cmyk(0%, 90%, 41%, 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 #cd147a warm or cool?

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

Work with #cd147a in the Color Lab