Skip to content

#ce2c8d

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

RGB
206, 44, 141
HSL
324°, 65%, 49%
CMYK
0, 79, 32, 19
Luminance
0.1685

At a glance

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

Hex
#ce2c8d
Hue
324°
magenta / pink
Saturation
65%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1685
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.81:1
Closest name
Medium Violet Red
ΔE2000 3.2
Where it sits
Hue324° of 360°
Saturation65%
Lightness49%
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#ce2c8d
RGBrgb(206, 44, 141)
HSLhsl(324, 65%, 49%)
CMYKcmyk(0%, 79%, 32%, 19%)
LABlab(48.1 68.6 -14.9)
LCHlch(48.1 70.2 347.8)
OKLCHoklch(0.581 0.214 349.5)
Decimal13511821
Display P3color(display-p3 0.808 0.173 0.553)

Copy-ready code

/* CSS */
color: #ce2c8d;
background-color: #ce2c8d;
/* Tailwind (arbitrary) */
class="text-[#ce2c8d] bg-[#ce2c8d]"
/* SCSS */
$brand: #ce2c8d;
/* SwiftUI */
Color(red: 0.808, green: 0.173, blue: 0.553)
/* Android */
Color.parseColor("#ce2c8d")
/* Flutter */
Color(0xFFCE2C8D)
/* Python / OpenCV (BGR) */
(141, 44, 206)

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

Accessibility — WCAG contrast

Aa
#ce2c8d on white: 4.81:1
AA ✓ pass · AA-large · AAA
Aa
#ce2c8d on black: 4.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #49608F
deuteranopia · #787C89
tritanopia · #DD205A

Color scale — 50 to 950

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

#FBF3F8
#F7E8F1
#F1CBE2
#EBA3CE
#E174B6
#D8469D
#ce2c8d
#A82473
#861D5C
#621944
#3D0F2B
Base = 600Lightest = 50 · #FBF3F8Darkest = 950 · #3D0F2B
:root {
  --brand-50: #FBF3F8;
  --brand-100: #F7E8F1;
  --brand-200: #F1CBE2;
  --brand-300: #EBA3CE;
  --brand-400: #E174B6;
  --brand-500: #D8469D;
  --brand-600: #ce2c8d;
  --brand-700: #A82473;
  --brand-800: #861D5C;
  --brand-900: #621944;
  --brand-950: #3D0F2B;
  --brand: #ce2c8d;
  --brand-ink: #ffffff;
}

Colors that work with #ce2c8d

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#20AC35
Second voice, not a rival
Dark variant#691648
Hover, pressed, headers
Light variant#FBEAF4
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 #ce2c8d

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#2CCE6D
Analogous left#BE2CCE
Analogous right#CE2C3C
Split-complement 1#3CCE2C
Split-complement 2#2CCEBE
Triadic 1#8DCE2C
Triadic 2#2C8DCE
Tetradic#CEBE2C

RGB percentages

Red80.8%
Green17.3%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta78.6%
Yellow31.6%
Key (black)19.2%

Color previews

#ce2c8d text on a black background

contrast 4.37:1

Card sample

#ce2c8d text on a white background

contrast 4.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 44, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 44, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce2c8d;
background: linear-gradient(135deg, #ce2c8d, #CE372C);

Monochromatic scale

Palettes built from #ce2c8d

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.

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

#ce2c8d, answered

What color is #ce2c8d?

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

What is the RGB value of #ce2c8d?

rgb(206, 44, 141) — 206 red, 44 green and 141 blue out of 255, or 80.8% / 17.3% / 55.3% by channel.

Is #ce2c8d a light or a dark color?

It is a dark color. Relative luminance is 0.1685 and perceived brightness is 50%, so white text on it reaches 4.81:1.

Should I use black or white text on #ce2c8d?

White. It scores 4.81:1 against #ce2c8d, versus 4.37:1 for black — AA at any size.

What is the complementary color of #ce2c8d?

#2CCE6D sits directly opposite on the wheel. Softer options are the split-complements #3CCE2C and #2CCEBE, which give the same contrast with far less vibration.

What colors go well with #ce2c8d?

For interface work: #FAF4F8 as the surface, #EDC0DB for borders, #9B4B7B for secondary text, #20AC35 as an accent and #691648 for hover and pressed states. For a palette, the analogous pair #BE2CCE and #CE2C3C stays calm, while #2CCE6D is the loudest partner.

What is #ce2c8d in CMYK for printing?

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

Is #ce2c8d 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 #CE2C51; nudged cooler, #D029CB.

Work with #ce2c8d in the Color Lab