Skip to content

#ce2cec

a balanced, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
206, 44, 236
HSL
291°, 84%, 55%
CMYK
13, 81, 0, 8
Luminance
0.2098

At a glance

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

Hex
#ce2cec
Hue
291°
magenta / pink
Saturation
84%
electric
Lightness
55%
balanced
Brightness
93%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2098
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.20:1
Closest name
Medium Orchid
ΔE2000 5.6
Where it sits
Hue291° of 360°
Saturation84%
Lightness55%
Temperature
Warm ← → Cool55% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ce2cec
RGBrgb(206, 44, 236)
HSLhsl(291, 84%, 55%)
CMYKcmyk(13%, 81%, 0%, 8%)
LABlab(52.9 82.2 -62.5)
LCHlch(52.9 103.3 322.7)
OKLCHoklch(0.631 0.276 320.5)
Decimal13511916
Display P3color(display-p3 0.808 0.173 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2cec on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#ce2cec on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0074F1
deuteranopia · #4484E8
tritanopia · #CF598F

Color scale — 50 to 950

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

#FBF2FC
#F7E6FA
#EFC5F6
#E798F6
#DB65F1
#ce2cec
#C114E1
#A011BB
#800D96
#5D0E6C
#3A0944
Base = 500Lightest = 50 · #FBF2FCDarkest = 950 · #3A0944
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F7E6FA;
  --brand-200: #EFC5F6;
  --brand-300: #E798F6;
  --brand-400: #DB65F1;
  --brand-500: #ce2cec;
  --brand-600: #C114E1;
  --brand-700: #A011BB;
  --brand-800: #800D96;
  --brand-900: #5D0E6C;
  --brand-950: #3A0944;
  --brand: #ce2cec;
  --brand-ink: #000000;
}

Colors that work with #ce2cec

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#55C00C
Second voice, not a rival
Dark variant#640B75
Hover, pressed, headers
Light variant#FAE8FD
Selected rows, tints
Dark surface#221424
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 #ce2cec

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#4AEC2C
Analogous left#6E2CEC
Analogous right#EC2CAA
Split-complement 1#AAEC2C
Split-complement 2#2CEC6E
Triadic 1#ECCE2C
Triadic 2#2CECCE
Tetradic#EC6E2C

RGB percentages

Red80.8%
Green17.3%
Blue92.5%

CMYK percentages

Cyan12.7%
Magenta81.4%
Yellow0.0%
Key (black)7.5%

Color previews

#ce2cec text on a black background

contrast 5.20:1

Card sample

#ce2cec text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2cec

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.

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

#ce2cec, answered

What color is #ce2cec?

#ce2cec is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 5.6). It sits at 291° on the hue wheel with 84% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #ce2cec?

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

Is #ce2cec a light or a dark color?

It is a mid-tone. Relative luminance is 0.2098 and perceived brightness is 56%, so black text on it reaches 5.20:1.

Should I use black or white text on #ce2cec?

Black. It scores 5.20:1 against #ce2cec, versus 4.04:1 for white — AA at any size.

What is the complementary color of #ce2cec?

#4AEC2C sits directly opposite on the wheel. Softer options are the split-complements #AAEC2C and #2CEC6E, which give the same contrast with far less vibration.

What colors go well with #ce2cec?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8E4B9B for secondary text, #55C00C as an accent and #640B75 for hover and pressed states. For a palette, the analogous pair #6E2CEC and #EC2CAA stays calm, while #4AEC2C is the loudest partner.

What is #ce2cec in CMYK for printing?

cmyk(13%, 81%, 0%, 8%). 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 #ce2cec warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC2CC4; nudged cooler, #872AEE.

Work with #ce2cec in the Color Lab