Skip to content

#cb2ae3

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

RGB
203, 42, 227
HSL
292°, 77%, 53%
CMYK
11, 82, 0, 11
Luminance
0.1990

At a glance

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

Hex
#cb2ae3
Hue
292°
magenta / pink
Saturation
77%
electric
Lightness
53%
balanced
Brightness
89%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1990
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.98:1
Closest name
Medium Orchid
ΔE2000 5.4
Where it sits
Hue292° of 360°
Saturation77%
Lightness53%
Temperature
Warm ← → Cool54% 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#cb2ae3
RGBrgb(203, 42, 227)
HSLhsl(292, 77%, 53%)
CMYKcmyk(11%, 82%, 0%, 11%)
LABlab(51.7 80.6 -59.4)
LCHlch(51.7 100.2 323.6)
OKLCHoklch(0.620 0.270 321.9)
Decimal13314787
Display P3color(display-p3 0.796 0.165 0.890)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2ae3 on white: 4.22:1
AA ✗ fail · AA-large · AAA
Aa
#cb2ae3 on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070E8
deuteranopia · #4881DF
tritanopia · #CD548A

Color scale — 50 to 950

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

#FBF3FC
#F6E7F9
#EEC7F4
#E79CF2
#DB6AEB
#cb2ae3
#C01CD8
#A018B4
#801390
#5D1268
#3A0B41
Base = 500Lightest = 50 · #FBF3FCDarkest = 950 · #3A0B41
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F6E7F9;
  --brand-200: #EEC7F4;
  --brand-300: #E79CF2;
  --brand-400: #DB6AEB;
  --brand-500: #cb2ae3;
  --brand-600: #C01CD8;
  --brand-700: #A018B4;
  --brand-800: #801390;
  --brand-900: #5D1268;
  --brand-950: #3A0B41;
  --brand: #cb2ae3;
  --brand-ink: #000000;
}

Colors that work with #cb2ae3

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#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#52B913
Second voice, not a rival
Dark variant#640F71
Hover, pressed, headers
Light variant#F9E8FC
Selected rows, tints
Dark surface#221424
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 #cb2ae3

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#42E32A
Analogous left#6E2AE3
Analogous right#E32A9E
Split-complement 1#9EE32A
Split-complement 2#2AE36E
Triadic 1#E3CB2A
Triadic 2#2AE3CB
Tetradic#E36E2A

RGB percentages

Red79.6%
Green16.5%
Blue89.0%

CMYK percentages

Cyan10.6%
Magenta81.5%
Yellow0.0%
Key (black)11.0%

Color previews

#cb2ae3 text on a black background

contrast 4.98:1

Card sample

#cb2ae3 text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2ae3

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.

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

#cb2ae3, answered

What color is #cb2ae3?

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

What is the RGB value of #cb2ae3?

rgb(203, 42, 227) — 203 red, 42 green and 227 blue out of 255, or 79.6% / 16.5% / 89% by channel.

Is #cb2ae3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1990 and perceived brightness is 54%, so black text on it reaches 4.98:1.

Should I use black or white text on #cb2ae3?

Black. It scores 4.98:1 against #cb2ae3, versus 4.22:1 for white — AA at any size.

What is the complementary color of #cb2ae3?

#42E32A sits directly opposite on the wheel. Softer options are the split-complements #9EE32A and #2AE36E, which give the same contrast with far less vibration.

What colors go well with #cb2ae3?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #52B913 as an accent and #640F71 for hover and pressed states. For a palette, the analogous pair #6E2AE3 and #E32A9E stays calm, while #42E32A is the loudest partner.

What is #cb2ae3 in CMYK for printing?

cmyk(11%, 82%, 0%, 11%). 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 #cb2ae3 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E32AB7; nudged cooler, #8727E5.

Work with #cb2ae3 in the Color Lab