Skip to content

#c751cf

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

RGB
199, 81, 207
HSL
296°, 57%, 57%
CMYK
4, 61, 0, 19
Luminance
0.2253

At a glance

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

Hex
#c751cf
Hue
296°
magenta / pink
Saturation
57%
vivid
Lightness
57%
balanced
Brightness
81%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2253
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.51:1
Closest name
Medium Orchid
ΔE2000 2.7
Where it sits
Hue296° of 360°
Saturation57%
Lightness57%
Temperature
Warm ← → Cool52% 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#c751cf
RGBrgb(199, 81, 207)
HSLhsl(296, 57%, 57%)
CMYKcmyk(4%, 61%, 0%, 19%)
LABlab(54.6 63.3 -43.5)
LCHlch(54.6 76.8 325.5)
OKLCHoklch(0.635 0.211 325.1)
Decimal13062607
Display P3color(display-p3 0.780 0.318 0.812)

Copy-ready code

/* CSS */
color: #c751cf;
background-color: #c751cf;
/* Tailwind (arbitrary) */
class="text-[#c751cf] bg-[#c751cf]"
/* SCSS */
$brand: #c751cf;
/* SwiftUI */
Color(red: 0.780, green: 0.318, blue: 0.812)
/* Android */
Color.parseColor("#c751cf")
/* Flutter */
Color(0xFFC751CF)
/* Python / OpenCV (BGR) */
(207, 81, 199)

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 #c751cf · 5.51:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.81:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.51:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #c751cf as text scores 3.81:1 on white and 5.51:1 on black.

Accessibility — WCAG contrast

Aa
#c751cf on white: 3.81:1
AA ✗ fail · AA-large · AAA
Aa
#c751cf on black: 5.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3C79D3
deuteranopia · #6888CC
tritanopia · #CB6389

Color scale — 50 to 950

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

#FAF4FB
#F6E9F6
#ECCDEE
#E3A7E7
#D57BDB
#c751cf
#B735C0
#992CA0
#7A2380
#591D5D
#38123A
Base = 500Lightest = 50 · #FAF4FBDarkest = 950 · #38123A
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E9F6;
  --brand-200: #ECCDEE;
  --brand-300: #E3A7E7;
  --brand-400: #D57BDB;
  --brand-500: #c751cf;
  --brand-600: #B735C0;
  --brand-700: #992CA0;
  --brand-800: #7A2380;
  --brand-900: #591D5D;
  --brand-950: #38123A;
  --brand: #c751cf;
  --brand-ink: #000000;
}

Colors that work with #c751cf

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#FAF4FA
Tinted page background
Border#EAC0ED
Hairlines and dividers
Muted text#964B9B
Captions on the surface
Accent#4FA428
Second voice, not a rival
Dark variant#5F1C64
Hover, pressed, headers
Light variant#F9EBF9
Selected rows, tints
Dark surface#231424
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 #c751cf

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#59CF51
Analogous left#8851CF
Analogous right#CF5198
Split-complement 1#98CF51
Split-complement 2#51CF88
Triadic 1#CFC751
Triadic 2#51CFC7
Tetradic#CF8851

RGB percentages

Red78.0%
Green31.8%
Blue81.2%

CMYK percentages

Cyan3.9%
Magenta60.9%
Yellow0.0%
Key (black)18.8%

Color previews

#c751cf text on a black background

contrast 5.51:1

Card sample

#c751cf text on a white background

contrast 3.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 81, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 81, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c751cf;
background: linear-gradient(135deg, #c751cf, #CF5183);

Monochromatic scale

Palettes built from #c751cf

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.

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

#c751cf, answered

What color is #c751cf?

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

What is the RGB value of #c751cf?

rgb(199, 81, 207) — 199 red, 81 green and 207 blue out of 255, or 78% / 31.8% / 81.2% by channel.

Is #c751cf a light or a dark color?

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

Should I use black or white text on #c751cf?

Black. It scores 5.51:1 against #c751cf, versus 3.81:1 for white — AA at any size.

What is the complementary color of #c751cf?

#59CF51 sits directly opposite on the wheel. Softer options are the split-complements #98CF51 and #51CF88, which give the same contrast with far less vibration.

What colors go well with #c751cf?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #4FA428 as an accent and #5F1C64 for hover and pressed states. For a palette, the analogous pair #8851CF and #CF5198 stays calm, while #59CF51 is the loudest partner.

What is #c751cf in CMYK for printing?

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

Is #c751cf warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF51A9; nudged cooler, #994FD1.

Work with #c751cf in the Color Lab