Skip to content

#cb0fcd

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

RGB
203, 15, 205
HSL
299°, 86%, 43%
CMYK
1, 93, 0, 20
Luminance
0.1745

At a glance

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

Hex
#cb0fcd
Hue
299°
magenta / pink
Saturation
86%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1745
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.68:1
Closest name
Medium Orchid
ΔE2000 7.5
Where it sits
Hue299° of 360°
Saturation86%
Lightness43%
Temperature
Warm ← → Cool50% 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#cb0fcd
RGBrgb(203, 15, 205)
HSLhsl(299, 86%, 43%)
CMYKcmyk(1%, 93%, 0%, 20%)
LABlab(48.8 81.8 -51.5)
LCHlch(48.8 96.6 327.8)
OKLCHoklch(0.595 0.269 327.8)
Decimal13307853
Display P3color(display-p3 0.796 0.059 0.804)

Copy-ready code

/* CSS */
color: #cb0fcd;
background-color: #cb0fcd;
/* Tailwind (arbitrary) */
class="text-[#cb0fcd] bg-[#cb0fcd]"
/* SCSS */
$brand: #cb0fcd;
/* SwiftUI */
Color(red: 0.796, green: 0.059, blue: 0.804)
/* Android */
Color.parseColor("#cb0fcd")
/* Flutter */
Color(0xFFCB0FCD)
/* Python / OpenCV (BGR) */
(205, 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#ffffff on #cb0fcd · 4.68:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.68:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.49:1
AA fail · AA large pass · AAA fail
Reading the other direction: #cb0fcd as text scores 4.68:1 on white and 4.49:1 on black.

Accessibility — WCAG contrast

Aa
#cb0fcd on white: 4.68:1
AA ✓ pass · AA-large · AAA
Aa
#cb0fcd on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066D1
deuteranopia · #527BC9
tritanopia · #D13E79

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cb0fcd is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF2FD
#FAE5FA
#F7C5F7
#F696F7
#F262F4
#EE2EF0
#E211E4
#cb0fcd
#970B98
#6D0D6E
#440845
Base = 700Lightest = 50 · #FCF2FDDarkest = 950 · #440845
:root {
  --brand-50: #FCF2FD;
  --brand-100: #FAE5FA;
  --brand-200: #F7C5F7;
  --brand-300: #F696F7;
  --brand-400: #F262F4;
  --brand-500: #EE2EF0;
  --brand-600: #E211E4;
  --brand-700: #cb0fcd;
  --brand-800: #970B98;
  --brand-900: #6D0D6E;
  --brand-950: #440845;
  --brand: #cb0fcd;
  --brand-ink: #ffffff;
}

Colors that work with #cb0fcd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#ECC0ED
Hairlines and dividers
Muted text#9A4B9B
Captions on the surface
Accent#3AC20A
Second voice, not a rival
Dark variant#760977
Hover, pressed, headers
Light variant#FDE7FD
Selected rows, tints
Dark surface#241424
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 #cb0fcd

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#11CD0F
Analogous left#6C0FCD
Analogous right#CD0F70
Split-complement 1#70CD0F
Split-complement 2#0FCD6C
Triadic 1#CDCB0F
Triadic 2#0FCDCB
Tetradic#CD6C0F

RGB percentages

Red79.6%
Green5.9%
Blue80.4%

CMYK percentages

Cyan1.0%
Magenta92.7%
Yellow0.0%
Key (black)19.6%

Color previews

#cb0fcd text on a black background

contrast 4.49:1

Card sample

#cb0fcd text on a white background

contrast 4.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb0fcd

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.

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

#cb0fcd, answered

What color is #cb0fcd?

#cb0fcd is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 7.5). It sits at 299° on the hue wheel with 86% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #cb0fcd?

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

Is #cb0fcd a light or a dark color?

It is a dark color. Relative luminance is 0.1745 and perceived brightness is 51%, so white text on it reaches 4.68:1.

Should I use black or white text on #cb0fcd?

White. It scores 4.68:1 against #cb0fcd, versus 4.49:1 for black — AA at any size.

What is the complementary color of #cb0fcd?

#11CD0F sits directly opposite on the wheel. Softer options are the split-complements #70CD0F and #0FCD6C, which give the same contrast with far less vibration.

What colors go well with #cb0fcd?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9A4B9B for secondary text, #3AC20A as an accent and #760977 for hover and pressed states. For a palette, the analogous pair #6C0FCD and #CD0F70 stays calm, while #11CD0F is the loudest partner.

What is #cb0fcd in CMYK for printing?

cmyk(1%, 93%, 0%, 20%). 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 #cb0fcd warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD0F89; nudged cooler, #860DCF.

Work with #cb0fcd in the Color Lab