Skip to content

#ce005c

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

RGB
206, 0, 92
HSL
333°, 100%, 40%
CMYK
0, 100, 55, 19
Luminance
0.1389

At a glance

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

Hex
#ce005c
Hue
333°
magenta / pink
Saturation
100%
electric
Lightness
40%
dark
Brightness
81%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1389
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.56:1
Closest name
Medium Violet Red
ΔE2000 10
Where it sits
Hue333° of 360°
Saturation100%
Lightness40%
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#ce005c
RGBrgb(206, 0, 92)
HSLhsl(333, 100%, 40%)
CMYKcmyk(0%, 100%, 55%, 19%)
LABlab(44.1 71.3 9.4)
LCHlch(44.1 71.9 7.5)
OKLCHoklch(0.547 0.219 6.3)
Decimal13500508
Display P3color(display-p3 0.808 0.000 0.361)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce005c on white: 5.56:1
AA ✓ pass · AA-large · AAA
Aa
#ce005c on black: 3.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4C515D
deuteranopia · #7C7557
tritanopia · #E10035

Color scale — 50 to 950

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

#FEF1F7
#FCE3EE
#FCC0DB
#FF8FC1
#FF57A2
#FF1F83
#F5006D
#ce005c
#A30049
#760537
#490322
Base = 700Lightest = 50 · #FEF1F7Darkest = 950 · #490322
:root {
  --brand-50: #FEF1F7;
  --brand-100: #FCE3EE;
  --brand-200: #FCC0DB;
  --brand-300: #FF8FC1;
  --brand-400: #FF57A2;
  --brand-500: #FF1F83;
  --brand-600: #F5006D;
  --brand-700: #ce005c;
  --brand-800: #A30049;
  --brand-900: #760537;
  --brand-950: #490322;
  --brand: #ce005c;
  --brand-ink: #ffffff;
}

Colors that work with #ce005c

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#9B4B6E
Captions on the surface
Accent#00CC3E
Second voice, not a rival
Dark variant#800039
Hover, pressed, headers
Light variant#FFE5F1
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 #ce005c

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#00CE72
Analogous left#CE00C3
Analogous right#CE0B00
Split-complement 1#00CE0B
Split-complement 2#00C3CE
Triadic 1#5CCE00
Triadic 2#005CCE
Tetradic#C3CE00

RGB percentages

Red80.8%
Green0.0%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow55.3%
Key (black)19.2%

Color previews

#ce005c text on a black background

contrast 3.78:1

Card sample

#ce005c text on a white background

contrast 5.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce005c

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.

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

#ce005c, answered

What color is #ce005c?

#ce005c is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 10). It sits at 333° on the hue wheel with 100% saturation and 40% lightness, which reads as warm.

What is the RGB value of #ce005c?

rgb(206, 0, 92) — 206 red, 0 green and 92 blue out of 255, or 80.8% / 0% / 36.1% by channel.

Is #ce005c a light or a dark color?

It is a dark color. Relative luminance is 0.1389 and perceived brightness is 46%, so white text on it reaches 5.56:1.

Should I use black or white text on #ce005c?

White. It scores 5.56:1 against #ce005c, versus 3.78:1 for black — AA at any size.

What is the complementary color of #ce005c?

#00CE72 sits directly opposite on the wheel. Softer options are the split-complements #00CE0B and #00C3CE, which give the same contrast with far less vibration.

What colors go well with #ce005c?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6E for secondary text, #00CC3E as an accent and #800039 for hover and pressed states. For a palette, the analogous pair #CE00C3 and #CE0B00 stays calm, while #00CE72 is the loudest partner.

What is #ce005c in CMYK for printing?

cmyk(0%, 100%, 55%, 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 #ce005c 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 #CE0010; nudged cooler, #CE00A8.

Work with #ce005c in the Color Lab