Skip to content

#cb0fda

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

RGB
203, 15, 218
HSL
296°, 87%, 46%
CMYK
7, 93, 0, 15
Luminance
0.1810

At a glance

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

Hex
#cb0fda
Hue
296°
magenta / pink
Saturation
87%
electric
Lightness
46%
balanced
Brightness
85%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1810
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.62:1
Closest name
Medium Orchid
ΔE2000 7
Where it sits
Hue296° of 360°
Saturation87%
Lightness46%
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#cb0fda
RGBrgb(203, 15, 218)
HSLhsl(296, 87%, 46%)
CMYKcmyk(7%, 93%, 0%, 15%)
LABlab(49.6 83.7 -57.7)
LCHlch(49.6 101.7 325.4)
OKLCHoklch(0.603 0.278 324.5)
Decimal13307866
Display P3color(display-p3 0.796 0.059 0.855)

Copy-ready code

/* CSS */
color: #cb0fda;
background-color: #cb0fda;
/* Tailwind (arbitrary) */
class="text-[#cb0fda] bg-[#cb0fda]"
/* SCSS */
$brand: #cb0fda;
/* SwiftUI */
Color(red: 0.796, green: 0.059, blue: 0.855)
/* Android */
Color.parseColor("#cb0fda")
/* Flutter */
Color(0xFFCB0FDA)
/* Python / OpenCV (BGR) */
(218, 15, 203)

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

Accessibility — WCAG contrast

Aa
#cb0fda on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#cb0fda on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0069DF
deuteranopia · #477DD6
tritanopia · #CF4681

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb0fda 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
#F9E5FA
#F4C4F7
#F196F8
#E962F4
#E22DF1
#cb0fda
#B20DBF
#8E0B99
#670C6E
#400845
Base = 600Lightest = 50 · #FCF2FDDarkest = 950 · #400845
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F9E5FA;
  --brand-200: #F4C4F7;
  --brand-300: #F196F8;
  --brand-400: #E962F4;
  --brand-500: #E22DF1;
  --brand-600: #cb0fda;
  --brand-700: #B20DBF;
  --brand-800: #8E0B99;
  --brand-900: #670C6E;
  --brand-950: #400845;
  --brand: #cb0fda;
  --brand-ink: #000000;
}

Colors that work with #cb0fda

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#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#45C309
Second voice, not a rival
Dark variant#6F0877
Hover, pressed, headers
Light variant#FCE7FD
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 #cb0fda

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links 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
  • 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#1EDA0F
Analogous left#660FDA
Analogous right#DA0F83
Split-complement 1#83DA0F
Split-complement 2#0FDA66
Triadic 1#DACB0F
Triadic 2#0FDACB
Tetradic#DA660F

RGB percentages

Red79.6%
Green5.9%
Blue85.5%

CMYK percentages

Cyan6.9%
Magenta93.1%
Yellow0.0%
Key (black)14.5%

Color previews

#cb0fda text on a black background

contrast 4.62:1

Card sample

#cb0fda text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb0fda

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.

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

#cb0fda, answered

What color is #cb0fda?

#cb0fda is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 7). It sits at 296° on the hue wheel with 87% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #cb0fda?

rgb(203, 15, 218) — 203 red, 15 green and 218 blue out of 255, or 79.6% / 5.9% / 85.5% by channel.

Is #cb0fda a light or a dark color?

It is a mid-tone. Relative luminance is 0.1810 and perceived brightness is 52%, so black text on it reaches 4.62:1.

Should I use black or white text on #cb0fda?

Black. It scores 4.62:1 against #cb0fda, versus 4.55:1 for white — AA at any size.

What is the complementary color of #cb0fda?

#1EDA0F sits directly opposite on the wheel. Softer options are the split-complements #83DA0F and #0FDA66, which give the same contrast with far less vibration.

What colors go well with #cb0fda?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #45C309 as an accent and #6F0877 for hover and pressed states. For a palette, the analogous pair #660FDA and #DA0F83 stays calm, while #1EDA0F is the loudest partner.

What is #cb0fda in CMYK for printing?

cmyk(7%, 93%, 0%, 15%). 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 #cb0fda 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 #DA0F9E; nudged cooler, #810DDC.

Work with #cb0fda in the Color Lab