Skip to content

#ce2f76

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

RGB
206, 47, 118
HSL
333°, 63%, 50%
CMYK
0, 77, 43, 19
Luminance
0.1646

At a glance

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

Hex
#ce2f76
Hue
333°
magenta / pink
Saturation
63%
vivid
Lightness
50%
balanced
Brightness
81%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1646
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.89:1
Closest name
Medium Violet Red
ΔE2000 6.1
Where it sits
Hue333° of 360°
Saturation63%
Lightness50%
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#ce2f76
RGBrgb(206, 47, 118)
HSLhsl(333, 63%, 50%)
CMYKcmyk(0%, 77%, 43%, 19%)
LABlab(47.6 65.4 -1.6)
LCHlch(47.6 65.4 358.6)
OKLCHoklch(0.575 0.201 359.0)
Decimal13512566
Display P3color(display-p3 0.808 0.184 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2f76 on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#ce2f76 on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #535E78
deuteranopia · #7E7C72
tritanopia · #DF0F4F

Color scale — 50 to 950

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

#FBF4F7
#F7E8EF
#F0CCDC
#EAA4C3
#E076A5
#D54887
#ce2f76
#A6265F
#851E4C
#611A39
#3C1024
Base = 600Lightest = 50 · #FBF4F7Darkest = 950 · #3C1024
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F7E8EF;
  --brand-200: #F0CCDC;
  --brand-300: #EAA4C3;
  --brand-400: #E076A5;
  --brand-500: #D54887;
  --brand-600: #ce2f76;
  --brand-700: #A6265F;
  --brand-800: #851E4C;
  --brand-900: #611A39;
  --brand-950: #3C1024;
  --brand: #ce2f76;
  --brand-ink: #ffffff;
}

Colors that work with #ce2f76

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#22AA4B
Second voice, not a rival
Dark variant#68183B
Hover, pressed, headers
Light variant#FAEAF1
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 #ce2f76

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#2FCE87
Analogous left#CE2FC5
Analogous right#CE382F
Split-complement 1#2FCE38
Split-complement 2#2FC5CE
Triadic 1#76CE2F
Triadic 2#2F76CE
Tetradic#C5CE2F

RGB percentages

Red80.8%
Green18.4%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta77.2%
Yellow42.7%
Key (black)19.2%

Color previews

#ce2f76 text on a black background

contrast 4.29:1

Card sample

#ce2f76 text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2f76

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.

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

#ce2f76, answered

What color is #ce2f76?

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

What is the RGB value of #ce2f76?

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

Is #ce2f76 a light or a dark color?

It is a dark color. Relative luminance is 0.1646 and perceived brightness is 49%, so white text on it reaches 4.89:1.

Should I use black or white text on #ce2f76?

White. It scores 4.89:1 against #ce2f76, versus 4.29:1 for black — AA at any size.

What is the complementary color of #ce2f76?

#2FCE87 sits directly opposite on the wheel. Softer options are the split-complements #2FCE38 and #2FC5CE, which give the same contrast with far less vibration.

What colors go well with #ce2f76?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6E for secondary text, #22AA4B as an accent and #68183B for hover and pressed states. For a palette, the analogous pair #CE2FC5 and #CE382F stays calm, while #2FCE87 is the loudest partner.

What is #ce2f76 in CMYK for printing?

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

Is #ce2f76 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 #CE2F3C; nudged cooler, #D02DB2.

Work with #ce2f76 in the Color Lab