Skip to content

#cb15cf

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

RGB
203, 21, 207
HSL
299°, 82%, 45%
CMYK
2, 90, 0, 19
Luminance
0.1774

At a glance

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

Hex
#cb15cf
Hue
299°
magenta / pink
Saturation
82%
electric
Lightness
45%
dark
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1774
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.62:1
Closest name
Medium Orchid
ΔE2000 7.1
Where it sits
Hue299° of 360°
Saturation82%
Lightness45%
Temperature
Warm ← → Cool51% 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#cb15cf
RGBrgb(203, 21, 207)
HSLhsl(299, 82%, 45%)
CMYKcmyk(2%, 90%, 0%, 19%)
LABlab(49.2 81.3 -52.1)
LCHlch(49.2 96.6 327.4)
OKLCHoklch(0.598 0.268 327.2)
Decimal13309391
Display P3color(display-p3 0.796 0.082 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb15cf on white: 4.62:1
AA ✓ pass · AA-large · AAA
Aa
#cb15cf on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0067D3
deuteranopia · #527CCB
tritanopia · #D1417B

Color scale — 50 to 950

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

#FCF2FC
#F9E6F9
#F5C6F6
#F399F5
#ED66F0
#E633EA
#cb15cf
#B613B9
#910F94
#690F6B
#420A43
Base = 600Lightest = 50 · #FCF2FCDarkest = 950 · #420A43
:root {
  --brand-50: #FCF2FC;
  --brand-100: #F9E6F9;
  --brand-200: #F5C6F6;
  --brand-300: #F399F5;
  --brand-400: #ED66F0;
  --brand-500: #E633EA;
  --brand-600: #cb15cf;
  --brand-700: #B613B9;
  --brand-800: #910F94;
  --brand-900: #690F6B;
  --brand-950: #420A43;
  --brand: #cb15cf;
  --brand-ink: #ffffff;
}

Colors that work with #cb15cf

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#994B9B
Captions on the surface
Accent#3EBE0E
Second voice, not a rival
Dark variant#720C74
Hover, pressed, headers
Light variant#FCE8FD
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 #cb15cf

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
  • 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#19CF15
Analogous left#6E15CF
Analogous right#CF1576
Split-complement 1#76CF15
Split-complement 2#15CF6E
Triadic 1#CFCB15
Triadic 2#15CFCB
Tetradic#CF6E15

RGB percentages

Red79.6%
Green8.2%
Blue81.2%

CMYK percentages

Cyan1.9%
Magenta89.9%
Yellow0.0%
Key (black)18.8%

Color previews

#cb15cf text on a black background

contrast 4.55:1

Card sample

#cb15cf text on a white background

contrast 4.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb15cf

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.

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

#cb15cf, answered

What color is #cb15cf?

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

What is the RGB value of #cb15cf?

rgb(203, 21, 207) — 203 red, 21 green and 207 blue out of 255, or 79.6% / 8.2% / 81.2% by channel.

Is #cb15cf a light or a dark color?

It is a dark color. Relative luminance is 0.1774 and perceived brightness is 52%, so white text on it reaches 4.62:1.

Should I use black or white text on #cb15cf?

White. It scores 4.62:1 against #cb15cf, versus 4.55:1 for black — AA at any size.

What is the complementary color of #cb15cf?

#19CF15 sits directly opposite on the wheel. Softer options are the split-complements #76CF15 and #15CF6E, which give the same contrast with far less vibration.

What colors go well with #cb15cf?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #994B9B for secondary text, #3EBE0E as an accent and #720C74 for hover and pressed states. For a palette, the analogous pair #6E15CF and #CF1576 stays calm, while #19CF15 is the loudest partner.

What is #cb15cf in CMYK for printing?

cmyk(2%, 90%, 0%, 19%). 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 #cb15cf warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF158F; nudged cooler, #8713D1.

Work with #cb15cf in the Color Lab