Skip to content

#cd0fe3

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

RGB
205, 15, 227
HSL
294°, 88%, 48%
CMYK
10, 93, 0, 11
Luminance
0.1887

At a glance

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

Hex
#cd0fe3
Hue
294°
magenta / pink
Saturation
88%
electric
Lightness
48%
balanced
Brightness
89%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1887
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.77:1
Closest name
Medium Orchid
ΔE2000 6.8
Where it sits
Hue294° of 360°
Saturation88%
Lightness48%
Temperature
Warm ← → Cool53% 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#cd0fe3
RGBrgb(205, 15, 227)
HSLhsl(294, 88%, 48%)
CMYKcmyk(10%, 93%, 0%, 11%)
LABlab(50.5 85.4 -61.3)
LCHlch(50.5 105.2 324.3)
OKLCHoklch(0.612 0.284 322.8)
Decimal13438947
Display P3color(display-p3 0.804 0.059 0.890)

Copy-ready code

/* CSS */
color: #cd0fe3;
background-color: #cd0fe3;
/* Tailwind (arbitrary) */
class="text-[#cd0fe3] bg-[#cd0fe3]"
/* SCSS */
$brand: #cd0fe3;
/* SwiftUI */
Color(red: 0.804, green: 0.059, blue: 0.890)
/* Android */
Color.parseColor("#cd0fe3")
/* Flutter */
Color(0xFFCD0FE3)
/* Python / OpenCV (BGR) */
(227, 15, 205)

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

Accessibility — WCAG contrast

Aa
#cd0fe3 on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#cd0fe3 on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006CE8
deuteranopia · #417FDF
tritanopia · #D04B86

Color scale — 50 to 950

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

#FCF2FD
#F8E5FA
#F2C4F8
#EE96F8
#E561F5
#DD2DF1
#cd0fe3
#AD0DBF
#8A0A99
#640C6F
#3F0745
Base = 600Lightest = 50 · #FCF2FDDarkest = 950 · #3F0745
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F8E5FA;
  --brand-200: #F2C4F8;
  --brand-300: #EE96F8;
  --brand-400: #E561F5;
  --brand-500: #DD2DF1;
  --brand-600: #cd0fe3;
  --brand-700: #AD0DBF;
  --brand-800: #8A0A99;
  --brand-900: #640C6F;
  --brand-950: #3F0745;
  --brand: #cd0fe3;
  --brand-ink: #000000;
}

Colors that work with #cd0fe3

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#E8C0ED
Hairlines and dividers
Muted text#934B9B
Captions on the surface
Accent#4BC408
Second voice, not a rival
Dark variant#6C0878
Hover, pressed, headers
Light variant#FBE7FD
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 #cd0fe3

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#25E30F
Analogous left#630FE3
Analogous right#E30F8F
Split-complement 1#8FE30F
Split-complement 2#0FE363
Triadic 1#E3CD0F
Triadic 2#0FE3CD
Tetradic#E3630F

RGB percentages

Red80.4%
Green5.9%
Blue89.0%

CMYK percentages

Cyan9.7%
Magenta93.4%
Yellow0.0%
Key (black)11.0%

Color previews

#cd0fe3 text on a black background

contrast 4.77:1

Card sample

#cd0fe3 text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 15, 227, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 15, 227, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd0fe3;
background: linear-gradient(135deg, #cd0fe3, #E30F6C);

Monochromatic scale

Palettes built from #cd0fe3

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.

#cd0fe3 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cd0fe3, answered

What color is #cd0fe3?

#cd0fe3 is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 6.8). It sits at 294° on the hue wheel with 88% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #cd0fe3?

rgb(205, 15, 227) — 205 red, 15 green and 227 blue out of 255, or 80.4% / 5.9% / 89% by channel.

Is #cd0fe3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1887 and perceived brightness is 53%, so black text on it reaches 4.77:1.

Should I use black or white text on #cd0fe3?

Black. It scores 4.77:1 against #cd0fe3, versus 4.40:1 for white — AA at any size.

What is the complementary color of #cd0fe3?

#25E30F sits directly opposite on the wheel. Softer options are the split-complements #8FE30F and #0FE363, which give the same contrast with far less vibration.

What colors go well with #cd0fe3?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #4BC408 as an accent and #6C0878 for hover and pressed states. For a palette, the analogous pair #630FE3 and #E30F8F stays calm, while #25E30F is the loudest partner.

What is #cd0fe3 in CMYK for printing?

cmyk(10%, 93%, 0%, 11%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cd0fe3 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E30FAB; nudged cooler, #800DE6.

Work with #cd0fe3 in the Color Lab