Skip to content

#cb2ac3

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

RGB
203, 42, 195
HSL
303°, 66%, 48%
CMYK
0, 79, 4, 20
Luminance
0.1829

At a glance

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

Hex
#cb2ac3
Hue
303°
magenta / pink
Saturation
66%
vivid
Lightness
48%
balanced
Brightness
80%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1829
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.66:1
Closest name
Medium Orchid
ΔE2000 6.7
Where it sits
Hue303° of 360°
Saturation66%
Lightness48%
Temperature
Warm ← → Cool48% 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#cb2ac3
RGBrgb(203, 42, 195)
HSLhsl(303, 66%, 48%)
CMYKcmyk(0%, 79%, 4%, 20%)
LABlab(49.9 75.6 -44.1)
LCHlch(49.9 87.5 329.7)
OKLCHoklch(0.601 0.247 330.4)
Decimal13314755
Display P3color(display-p3 0.796 0.165 0.765)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2ac3 on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#cb2ac3 on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0C69C7
deuteranopia · #5F7EBF
tritanopia · #D34277

Color scale — 50 to 950

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

#FBF3FB
#F8E8F7
#F1CBEF
#ECA2E8
#E274DD
#D945D1
#cb2ac3
#A923A2
#871C82
#62185E
#3D0F3B
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3D0F3B
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E8F7;
  --brand-200: #F1CBEF;
  --brand-300: #ECA2E8;
  --brand-400: #E274DD;
  --brand-500: #D945D1;
  --brand-600: #cb2ac3;
  --brand-700: #A923A2;
  --brand-800: #871C82;
  --brand-900: #62185E;
  --brand-950: #3D0F3B;
  --brand: #cb2ac3;
  --brand-ink: #000000;
}

Colors that work with #cb2ac3

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#EDC0EA
Hairlines and dividers
Muted text#9B4B97
Captions on the surface
Accent#3BAD1F
Second voice, not a rival
Dark variant#6A1665
Hover, pressed, headers
Light variant#FBEAFA
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 #cb2ac3

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#2ACB32
Analogous left#822ACB
Analogous right#CB2A72
Split-complement 1#72CB2A
Split-complement 2#2ACB82
Triadic 1#C3CB2A
Triadic 2#2AC3CB
Tetradic#CB822A

RGB percentages

Red79.6%
Green16.5%
Blue76.5%

CMYK percentages

Cyan0.0%
Magenta79.3%
Yellow3.9%
Key (black)20.4%

Color previews

#cb2ac3 text on a black background

contrast 4.66:1

Card sample

#cb2ac3 text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2ac3

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.

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

#cb2ac3, answered

What color is #cb2ac3?

#cb2ac3 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.7). It sits at 303° on the hue wheel with 66% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #cb2ac3?

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

Is #cb2ac3 a light or a dark color?

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

Should I use black or white text on #cb2ac3?

Black. It scores 4.66:1 against #cb2ac3, versus 4.51:1 for white — AA at any size.

What is the complementary color of #cb2ac3?

#2ACB32 sits directly opposite on the wheel. Softer options are the split-complements #72CB2A and #2ACB82, which give the same contrast with far less vibration.

What colors go well with #cb2ac3?

For interface work: #FAF4FA as the surface, #EDC0EA for borders, #9B4B97 for secondary text, #3BAD1F as an accent and #6A1665 for hover and pressed states. For a palette, the analogous pair #822ACB and #CB2A72 stays calm, while #2ACB32 is the loudest partner.

What is #cb2ac3 in CMYK for printing?

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

Is #cb2ac3 warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CB2A88; nudged cooler, #9928CD.

Work with #cb2ac3 in the Color Lab