Skip to content

#ce4baf

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

RGB
206, 75, 175
HSL
314°, 57%, 55%
CMYK
0, 64, 15, 19
Luminance
0.2125

At a glance

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

Hex
#ce4baf
Hue
314°
magenta / pink
Saturation
57%
vivid
Lightness
55%
balanced
Brightness
81%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2125
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.25:1
Closest name
Medium Orchid
ΔE2000 8.4
Where it sits
Hue314° of 360°
Saturation57%
Lightness55%
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#ce4baf
RGBrgb(206, 75, 175)
HSLhsl(314, 57%, 55%)
CMYKcmyk(0%, 64%, 15%, 19%)
LABlab(53.2 62.4 -27.1)
LCHlch(53.2 68.0 336.5)
OKLCHoklch(0.623 0.198 338.3)
Decimal13519791
Display P3color(display-p3 0.808 0.294 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce4baf on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#ce4baf on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5072B2
deuteranopia · #7987AC
tritanopia · #D95076

Color scale — 50 to 950

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

#FBF4F9
#F7E9F3
#EFCDE7
#E7A7D8
#DB7BC4
#ce4baf
#C0349F
#A02C85
#80236A
#5D1D4E
#3A1231
Base = 500Lightest = 50 · #FBF4F9Darkest = 950 · #3A1231
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F7E9F3;
  --brand-200: #EFCDE7;
  --brand-300: #E7A7D8;
  --brand-400: #DB7BC4;
  --brand-500: #ce4baf;
  --brand-600: #C0349F;
  --brand-700: #A02C85;
  --brand-800: #80236A;
  --brand-900: #5D1D4E;
  --brand-950: #3A1231;
  --brand: #ce4baf;
  --brand-ink: #000000;
}

Colors that work with #ce4baf

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#9B4B88
Captions on the surface
Accent#29A527
Second voice, not a rival
Dark variant#641B53
Hover, pressed, headers
Light variant#FAEBF6
Selected rows, tints
Dark surface#241420
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 #ce4baf

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#4BCE6A
Analogous left#AC4BCE
Analogous right#CE4B6E
Split-complement 1#6ECE4B
Split-complement 2#4BCEAC
Triadic 1#AFCE4B
Triadic 2#4BAFCE
Tetradic#CEAC4B

RGB percentages

Red80.8%
Green29.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta63.6%
Yellow15.0%
Key (black)19.2%

Color previews

#ce4baf text on a black background

contrast 5.25:1

Card sample

#ce4baf text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce4baf

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.

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

#ce4baf, answered

What color is #ce4baf?

#ce4baf is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 8.4). It sits at 314° on the hue wheel with 57% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #ce4baf?

rgb(206, 75, 175) — 206 red, 75 green and 175 blue out of 255, or 80.8% / 29.4% / 68.6% by channel.

Is #ce4baf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2125 and perceived brightness is 55%, so black text on it reaches 5.25:1.

Should I use black or white text on #ce4baf?

Black. It scores 5.25:1 against #ce4baf, versus 4.00:1 for white — AA at any size.

What is the complementary color of #ce4baf?

#4BCE6A sits directly opposite on the wheel. Softer options are the split-complements #6ECE4B and #4BCEAC, which give the same contrast with far less vibration.

What colors go well with #ce4baf?

For interface work: #FAF4F9 as the surface, #EDC0E2 for borders, #9B4B88 for secondary text, #29A527 as an accent and #641B53 for hover and pressed states. For a palette, the analogous pair #AC4BCE and #CE4B6E stays calm, while #4BCE6A is the loudest partner.

What is #ce4baf in CMYK for printing?

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

Is #ce4baf 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 #CE4B7F; nudged cooler, #BF49D0.

Work with #ce4baf in the Color Lab