Skip to content

#ce2faa

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

RGB
206, 47, 170
HSL
314°, 63%, 50%
CMYK
0, 77, 18, 19
Luminance
0.1806

At a glance

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

Hex
#ce2faa
Hue
314°
magenta / pink
Saturation
63%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1806
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.61:1
Closest name
Medium Violet Red
ΔE2000 7.2
Where it sits
Hue314° of 360°
Saturation63%
Lightness50%
Temperature
Warm ← → Cool42% 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#ce2faa
RGBrgb(206, 47, 170)
HSLhsl(314, 63%, 50%)
CMYKcmyk(0%, 77%, 18%, 19%)
LABlab(49.6 71.4 -29.9)
LCHlch(49.6 77.4 337.3)
OKLCHoklch(0.596 0.227 339.1)
Decimal13512618
Display P3color(display-p3 0.808 0.184 0.667)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2faa on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#ce2faa on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3966AD
deuteranopia · #6F7FA6
tritanopia · #DA366A

Color scale — 50 to 950

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

#FBF4F9
#F7E8F4
#F0CCE8
#EAA4DA
#E076C8
#D548B5
#ce2faa
#A62689
#851E6E
#611A51
#3C1032
Base = 600Lightest = 50 · #FBF4F9Darkest = 950 · #3C1032
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F7E8F4;
  --brand-200: #F0CCE8;
  --brand-300: #EAA4DA;
  --brand-400: #E076C8;
  --brand-500: #D548B5;
  --brand-600: #ce2faa;
  --brand-700: #A62689;
  --brand-800: #851E6E;
  --brand-900: #611A51;
  --brand-950: #3C1032;
  --brand: #ce2faa;
  --brand-ink: #000000;
}

Colors that work with #ce2faa

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#FAF4F9
Tinted page background
Border#EDC0E2
Hairlines and dividers
Muted text#9B4B89
Captions on the surface
Accent#25AA22
Second voice, not a rival
Dark variant#681856
Hover, pressed, headers
Light variant#FAEAF7
Selected rows, tints
Dark surface#241421
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 #ce2faa

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

Works well for
  • Body text and links 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
  • 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#2FCE53
Analogous left#A22FCE
Analogous right#CE2F5A
Split-complement 1#5ACE2F
Split-complement 2#2FCEA2
Triadic 1#AACE2F
Triadic 2#2FAACE
Tetradic#CEA22F

RGB percentages

Red80.8%
Green18.4%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta77.2%
Yellow17.5%
Key (black)19.2%

Color previews

#ce2faa text on a black background

contrast 4.61:1

Card sample

#ce2faa text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2faa

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.

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

#ce2faa, answered

What color is #ce2faa?

#ce2faa is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 7.2). It sits at 314° on the hue wheel with 63% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #ce2faa?

rgb(206, 47, 170) — 206 red, 47 green and 170 blue out of 255, or 80.8% / 18.4% / 66.7% by channel.

Is #ce2faa a light or a dark color?

It is a mid-tone. Relative luminance is 0.1806 and perceived brightness is 52%, so black text on it reaches 4.61:1.

Should I use black or white text on #ce2faa?

Black. It scores 4.61:1 against #ce2faa, versus 4.55:1 for white — AA at any size.

What is the complementary color of #ce2faa?

#2FCE53 sits directly opposite on the wheel. Softer options are the split-complements #5ACE2F and #2FCEA2, which give the same contrast with far less vibration.

What colors go well with #ce2faa?

For interface work: #FAF4F9 as the surface, #EDC0E2 for borders, #9B4B89 for secondary text, #25AA22 as an accent and #681856 for hover and pressed states. For a palette, the analogous pair #A22FCE and #CE2F5A stays calm, while #2FCE53 is the loudest partner.

What is #ce2faa in CMYK for printing?

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

Is #ce2faa warm or cool?

Neutral — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CE2F70; nudged cooler, #B92DD0.

Work with #ce2faa in the Color Lab