Skip to content

#cb1cd3

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

RGB
203, 28, 211
HSL
297°, 77%, 47%
CMYK
4, 87, 0, 17
Luminance
0.1823

At a glance

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

Hex
#cb1cd3
Hue
297°
magenta / pink
Saturation
77%
electric
Lightness
47%
balanced
Brightness
83%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1823
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.65:1
Closest name
Medium Orchid
ΔE2000 6.6
Where it sits
Hue297° of 360°
Saturation77%
Lightness47%
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#cb1cd3
RGBrgb(203, 28, 211)
HSLhsl(297, 77%, 47%)
CMYKcmyk(4%, 87%, 0%, 17%)
LABlab(49.8 80.9 -53.4)
LCHlch(49.8 97.0 326.6)
OKLCHoklch(0.603 0.267 326.1)
Decimal13311187
Display P3color(display-p3 0.796 0.110 0.827)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb1cd3 on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#cb1cd3 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0069D7
deuteranopia · #507DCF
tritanopia · #D0457E

Color scale — 50 to 950

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

#FCF3FC
#F8E7F9
#F2C8F4
#EE9CF2
#E66AEB
#DD39E5
#cb1cd3
#AD18B4
#8B1390
#651268
#3F0B41
Base = 600Lightest = 50 · #FCF3FCDarkest = 950 · #3F0B41
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E7F9;
  --brand-200: #F2C8F4;
  --brand-300: #EE9CF2;
  --brand-400: #E66AEB;
  --brand-500: #DD39E5;
  --brand-600: #cb1cd3;
  --brand-700: #AD18B4;
  --brand-800: #8B1390;
  --brand-900: #651268;
  --brand-950: #3F0B41;
  --brand: #cb1cd3;
  --brand-ink: #000000;
}

Colors that work with #cb1cd3

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#EBC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#44B814
Second voice, not a rival
Dark variant#6C0F71
Hover, pressed, headers
Light variant#FBE8FC
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 #cb1cd3

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#24D31C
Analogous left#701CD3
Analogous right#D31C80
Split-complement 1#80D31C
Split-complement 2#1CD370
Triadic 1#D3CB1C
Triadic 2#1CD3CB
Tetradic#D3701C

RGB percentages

Red79.6%
Green11.0%
Blue82.7%

CMYK percentages

Cyan3.8%
Magenta86.7%
Yellow0.0%
Key (black)17.3%

Color previews

#cb1cd3 text on a black background

contrast 4.65:1

Card sample

#cb1cd3 text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb1cd3

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.

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

#cb1cd3, answered

What color is #cb1cd3?

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

What is the RGB value of #cb1cd3?

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

Is #cb1cd3 a light or a dark color?

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

Should I use black or white text on #cb1cd3?

Black. It scores 4.65:1 against #cb1cd3, versus 4.52:1 for white — AA at any size.

What is the complementary color of #cb1cd3?

#24D31C sits directly opposite on the wheel. Softer options are the split-complements #80D31C and #1CD370, which give the same contrast with far less vibration.

What colors go well with #cb1cd3?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #974B9B for secondary text, #44B814 as an accent and #6C0F71 for hover and pressed states. For a palette, the analogous pair #701CD3 and #D31C80 stays calm, while #24D31C is the loudest partner.

What is #cb1cd3 in CMYK for printing?

cmyk(4%, 87%, 0%, 17%). 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 #cb1cd3 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 #D31C98; nudged cooler, #891AD6.

Work with #cb1cd3 in the Color Lab