Skip to content

#c04fd2

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

RGB
192, 79, 210
HSL
292°, 59%, 57%
CMYK
9, 62, 0, 18
Luminance
0.2145

At a glance

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

Hex
#c04fd2
Hue
292°
magenta / pink
Saturation
59%
vivid
Lightness
57%
balanced
Brightness
82%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2145
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.29:1
Closest name
Medium Orchid
ΔE2000 1.4
Where it sits
Hue292° of 360°
Saturation59%
Lightness57%
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#c04fd2
RGBrgb(192, 79, 210)
HSLhsl(292, 59%, 57%)
CMYKcmyk(9%, 62%, 0%, 18%)
LABlab(53.4 63.0 -47.1)
LCHlch(53.4 78.7 323.2)
OKLCHoklch(0.626 0.213 321.9)
Decimal12603346
Display P3color(display-p3 0.753 0.310 0.824)

Copy-ready code

/* CSS */
color: #c04fd2;
background-color: #c04fd2;
/* Tailwind (arbitrary) */
class="text-[#c04fd2] bg-[#c04fd2]"
/* SCSS */
$brand: #c04fd2;
/* SwiftUI */
Color(red: 0.753, green: 0.310, blue: 0.824)
/* Android */
Color.parseColor("#c04fd2")
/* Flutter */
Color(0xFFC04FD2)
/* Python / OpenCV (BGR) */
(210, 79, 192)

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

Accessibility — WCAG contrast

Aa
#c04fd2 on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#c04fd2 on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3177D6
deuteranopia · #5F84CF
tritanopia · #C2648A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c04fd2 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
#F5E9F7
#EACDEF
#DFA6E8
#CF79DD
#c04fd2
#AF32C3
#922AA2
#752182
#551C5F
#35113B
Base = 500Lightest = 50 · #FAF4FBDarkest = 950 · #35113B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E9F7;
  --brand-200: #EACDEF;
  --brand-300: #DFA6E8;
  --brand-400: #CF79DD;
  --brand-500: #c04fd2;
  --brand-600: #AF32C3;
  --brand-700: #922AA2;
  --brand-800: #752182;
  --brand-900: #551C5F;
  --brand-950: #35113B;
  --brand: #c04fd2;
  --brand-ink: #000000;
}

Colors that work with #c04fd2

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#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#58A626
Second voice, not a rival
Dark variant#5B1A66
Hover, pressed, headers
Light variant#F8EBFA
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 #c04fd2

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#61D24F
Analogous left#7F4FD2
Analogous right#D24FA2
Split-complement 1#A2D24F
Split-complement 2#4FD27F
Triadic 1#D2C04F
Triadic 2#4FD2C0
Tetradic#D27F4F

RGB percentages

Red75.3%
Green31.0%
Blue82.4%

CMYK percentages

Cyan8.6%
Magenta62.4%
Yellow0.0%
Key (black)17.6%

Color previews

#c04fd2 text on a black background

contrast 5.29:1

Card sample

#c04fd2 text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 79, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 79, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c04fd2;
background: linear-gradient(135deg, #c04fd2, #D24F8D);

Monochromatic scale

Palettes built from #c04fd2

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.

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

#c04fd2, answered

What color is #c04fd2?

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

What is the RGB value of #c04fd2?

rgb(192, 79, 210) — 192 red, 79 green and 210 blue out of 255, or 75.3% / 31% / 82.4% by channel.

Is #c04fd2 a light or a dark color?

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

Should I use black or white text on #c04fd2?

Black. It scores 5.29:1 against #c04fd2, versus 3.97:1 for white — AA at any size.

What is the complementary color of #c04fd2?

#61D24F sits directly opposite on the wheel. Softer options are the split-complements #A2D24F and #4FD27F, which give the same contrast with far less vibration.

What colors go well with #c04fd2?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #58A626 as an accent and #5B1A66 for hover and pressed states. For a palette, the analogous pair #7F4FD2 and #D24FA2 stays calm, while #61D24F is the loudest partner.

What is #c04fd2 in CMYK for printing?

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

Is #c04fd2 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 #D24FB4; nudged cooler, #904DD4.

Work with #c04fd2 in the Color Lab