Skip to content

#cb2eb8

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

RGB
203, 46, 184
HSL
307°, 63%, 49%
CMYK
0, 77, 9, 20
Luminance
0.1811

At a glance

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

Hex
#cb2eb8
Hue
307°
magenta / pink
Saturation
63%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1811
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.62:1
Closest name
Medium Orchid
ΔE2000 7.6
Where it sits
Hue307° of 360°
Saturation63%
Lightness49%
Temperature
Warm ← → Cool46% 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#cb2eb8
RGBrgb(203, 46, 184)
HSLhsl(307, 63%, 49%)
CMYKcmyk(0%, 77%, 9%, 20%)
LABlab(49.6 72.9 -38.0)
LCHlch(49.6 82.2 332.5)
OKLCHoklch(0.597 0.236 333.7)
Decimal13315768
Display P3color(display-p3 0.796 0.180 0.722)

Copy-ready code

/* CSS */
color: #cb2eb8;
background-color: #cb2eb8;
/* Tailwind (arbitrary) */
class="text-[#cb2eb8] bg-[#cb2eb8]"
/* SCSS */
$brand: #cb2eb8;
/* SwiftUI */
Color(red: 0.796, green: 0.180, blue: 0.722)
/* Android */
Color.parseColor("#cb2eb8")
/* Flutter */
Color(0xFFCB2EB8)
/* Python / OpenCV (BGR) */
(184, 46, 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 #cb2eb8 · 4.62:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.54: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: #cb2eb8 as text scores 4.54:1 on white and 4.62:1 on black.

Accessibility — WCAG contrast

Aa
#cb2eb8 on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#cb2eb8 on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2868BC
deuteranopia · #667EB4
tritanopia · #D53F72

Color scale — 50 to 950

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

#FBF4FA
#F7E8F5
#F0CBEC
#EAA4E2
#E076D3
#D648C4
#cb2eb8
#A62697
#851E79
#611A58
#3C1037
Base = 600Lightest = 50 · #FBF4FADarkest = 950 · #3C1037
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F7E8F5;
  --brand-200: #F0CBEC;
  --brand-300: #EAA4E2;
  --brand-400: #E076D3;
  --brand-500: #D648C4;
  --brand-600: #cb2eb8;
  --brand-700: #A62697;
  --brand-800: #851E79;
  --brand-900: #611A58;
  --brand-950: #3C1037;
  --brand: #cb2eb8;
  --brand-ink: #000000;
}

Colors that work with #cb2eb8

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#EDC0E7
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#33AA22
Second voice, not a rival
Dark variant#68185E
Hover, pressed, headers
Light variant#FAEAF8
Selected rows, tints
Dark surface#241422
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 #cb2eb8

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#2ECB41
Analogous left#902ECB
Analogous right#CB2E69
Split-complement 1#69CB2E
Split-complement 2#2ECB90
Triadic 1#B8CB2E
Triadic 2#2EB8CB
Tetradic#CB902E

RGB percentages

Red79.6%
Green18.0%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta77.3%
Yellow9.4%
Key (black)20.4%

Color previews

#cb2eb8 text on a black background

contrast 4.62:1

Card sample

#cb2eb8 text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2eb8

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.

#cb2eb8 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

Converts to four-color process without much drama. Proof it anyway.

#cb2eb8, answered

What color is #cb2eb8?

#cb2eb8 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 7.6). It sits at 307° on the hue wheel with 63% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #cb2eb8?

rgb(203, 46, 184) — 203 red, 46 green and 184 blue out of 255, or 79.6% / 18% / 72.2% by channel.

Is #cb2eb8 a light or a dark color?

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

Should I use black or white text on #cb2eb8?

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

What is the complementary color of #cb2eb8?

#2ECB41 sits directly opposite on the wheel. Softer options are the split-complements #69CB2E and #2ECB90, which give the same contrast with far less vibration.

What colors go well with #cb2eb8?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B91 for secondary text, #33AA22 as an accent and #68185E for hover and pressed states. For a palette, the analogous pair #902ECB and #CB2E69 stays calm, while #2ECB41 is the loudest partner.

What is #cb2eb8 in CMYK for printing?

cmyk(0%, 77%, 9%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cb2eb8 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB2E7E; nudged cooler, #A62BCD.

Work with #cb2eb8 in the Color Lab