Skip to content

#cb1cdb

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

RGB
203, 28, 219
HSL
295°, 77%, 48%
CMYK
7, 87, 0, 14
Luminance
0.1864

At a glance

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

Hex
#cb1cdb
Hue
295°
magenta / pink
Saturation
77%
electric
Lightness
48%
balanced
Brightness
86%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1864
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.73:1
Closest name
Medium Orchid
ΔE2000 6.4
Where it sits
Hue295° of 360°
Saturation77%
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#cb1cdb
RGBrgb(203, 28, 219)
HSLhsl(295, 77%, 48%)
CMYKcmyk(7%, 87%, 0%, 14%)
LABlab(50.3 82.2 -57.2)
LCHlch(50.3 100.1 325.1)
OKLCHoklch(0.608 0.273 324.1)
Decimal13311195
Display P3color(display-p3 0.796 0.110 0.859)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb1cdb on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#cb1cdb on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006BE0
deuteranopia · #4A7ED7
tritanopia · #CF4A83

Color scale — 50 to 950

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

#FBF3FC
#F7E6F9
#F1C7F4
#EB9CF2
#E16AEC
#D738E6
#cb1cdb
#A817B5
#861391
#611269
#3D0B41
Base = 600Lightest = 50 · #FBF3FCDarkest = 950 · #3D0B41
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E6F9;
  --brand-200: #F1C7F4;
  --brand-300: #EB9CF2;
  --brand-400: #E16AEC;
  --brand-500: #D738E6;
  --brand-600: #cb1cdb;
  --brand-700: #A817B5;
  --brand-800: #861391;
  --brand-900: #611269;
  --brand-950: #3D0B41;
  --brand: #cb1cdb;
  --brand-ink: #000000;
}

Colors that work with #cb1cdb

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#944B9B
Captions on the surface
Accent#4AB913
Second voice, not a rival
Dark variant#690E71
Hover, pressed, headers
Light variant#FAE8FC
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 #cb1cdb

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#2CDB1C
Analogous left#6C1CDB
Analogous right#DB1C8B
Split-complement 1#8BDB1C
Split-complement 2#1CDB6C
Triadic 1#DBCB1C
Triadic 2#1CDBCB
Tetradic#DB6C1C

RGB percentages

Red79.6%
Green11.0%
Blue85.9%

CMYK percentages

Cyan7.3%
Magenta87.2%
Yellow0.0%
Key (black)14.1%

Color previews

#cb1cdb text on a black background

contrast 4.73:1

Card sample

#cb1cdb text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb1cdb

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.

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

#cb1cdb, answered

What color is #cb1cdb?

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

What is the RGB value of #cb1cdb?

rgb(203, 28, 219) — 203 red, 28 green and 219 blue out of 255, or 79.6% / 11% / 85.9% by channel.

Is #cb1cdb a light or a dark color?

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

Should I use black or white text on #cb1cdb?

Black. It scores 4.73:1 against #cb1cdb, versus 4.44:1 for white — AA at any size.

What is the complementary color of #cb1cdb?

#2CDB1C sits directly opposite on the wheel. Softer options are the split-complements #8BDB1C and #1CDB6C, which give the same contrast with far less vibration.

What colors go well with #cb1cdb?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #944B9B for secondary text, #4AB913 as an accent and #690E71 for hover and pressed states. For a palette, the analogous pair #6C1CDB and #DB1C8B stays calm, while #2CDB1C is the loudest partner.

What is #cb1cdb in CMYK for printing?

cmyk(7%, 87%, 0%, 14%). 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 #cb1cdb 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 #DB1CA5; nudged cooler, #851ADD.

Work with #cb1cdb in the Color Lab