Skip to content

#ca4dbb

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

RGB
202, 77, 187
HSL
307°, 54%, 55%
CMYK
0, 62, 7, 21
Luminance
0.2145

At a glance

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

Hex
#ca4dbb
Hue
307°
magenta / pink
Saturation
54%
vivid
Lightness
55%
balanced
Brightness
79%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2145
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.29:1
Closest name
Medium Orchid
ΔE2000 5.9
Where it sits
Hue307° of 360°
Saturation54%
Lightness55%
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#ca4dbb
RGBrgb(202, 77, 187)
HSLhsl(307, 54%, 55%)
CMYKcmyk(0%, 62%, 7%, 21%)
LABlab(53.4 62.4 -33.8)
LCHlch(53.4 70.9 331.6)
OKLCHoklch(0.625 0.202 332.7)
Decimal13258171
Display P3color(display-p3 0.792 0.302 0.733)

Copy-ready code

/* CSS */
color: #ca4dbb;
background-color: #ca4dbb;
/* Tailwind (arbitrary) */
class="text-[#ca4dbb] bg-[#ca4dbb]"
/* SCSS */
$brand: #ca4dbb;
/* SwiftUI */
Color(red: 0.792, green: 0.302, blue: 0.733)
/* Android */
Color.parseColor("#ca4dbb")
/* Flutter */
Color(0xFFCA4DBB)
/* Python / OpenCV (BGR) */
(187, 77, 202)

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 #ca4dbb · 5.29:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.97:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.29:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ca4dbb as text scores 3.97:1 on white and 5.29:1 on black.

Accessibility — WCAG contrast

Aa
#ca4dbb on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#ca4dbb on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4974BE
deuteranopia · #7286B8
tritanopia · #D2577D

Color scale — 50 to 950

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

#FBF4FA
#F6E9F5
#EECEEA
#E5A9DE
#D87DCD
#ca4dbb
#BD38AD
#9D2F90
#7E2573
#5C1F54
#391335
Base = 500Lightest = 50 · #FBF4FADarkest = 950 · #391335
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F6E9F5;
  --brand-200: #EECEEA;
  --brand-300: #E5A9DE;
  --brand-400: #D87DCD;
  --brand-500: #ca4dbb;
  --brand-600: #BD38AD;
  --brand-700: #9D2F90;
  --brand-800: #7E2573;
  --brand-900: #5C1F54;
  --brand-950: #391335;
  --brand: #ca4dbb;
  --brand-ink: #000000;
}

Colors that work with #ca4dbb

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#ECC0E7
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#3AA22A
Second voice, not a rival
Dark variant#621D5A
Hover, pressed, headers
Light variant#F9EBF7
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 #ca4dbb

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#4DCA5C
Analogous left#9A4DCA
Analogous right#CA4D7C
Split-complement 1#7CCA4D
Split-complement 2#4DCA9A
Triadic 1#BBCA4D
Triadic 2#4DBBCA
Tetradic#CA9A4D

RGB percentages

Red79.2%
Green30.2%
Blue73.3%

CMYK percentages

Cyan0.0%
Magenta61.9%
Yellow7.4%
Key (black)20.8%

Color previews

#ca4dbb text on a black background

contrast 5.29:1

Card sample

#ca4dbb text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 77, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 77, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca4dbb;
background: linear-gradient(135deg, #ca4dbb, #CA4D68);

Monochromatic scale

Palettes built from #ca4dbb

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.

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

#ca4dbb, answered

What color is #ca4dbb?

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

What is the RGB value of #ca4dbb?

rgb(202, 77, 187) — 202 red, 77 green and 187 blue out of 255, or 79.2% / 30.2% / 73.3% by channel.

Is #ca4dbb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2145 and perceived brightness is 55%, so black text on it reaches 5.29:1.

Should I use black or white text on #ca4dbb?

Black. It scores 5.29:1 against #ca4dbb, versus 3.97:1 for white — AA at any size.

What is the complementary color of #ca4dbb?

#4DCA5C sits directly opposite on the wheel. Softer options are the split-complements #7CCA4D and #4DCA9A, which give the same contrast with far less vibration.

What colors go well with #ca4dbb?

For interface work: #FAF4FA as the surface, #ECC0E7 for borders, #9B4B91 for secondary text, #3AA22A as an accent and #621D5A for hover and pressed states. For a palette, the analogous pair #9A4DCA and #CA4D7C stays calm, while #4DCA5C is the loudest partner.

What is #ca4dbb in CMYK for printing?

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

Is #ca4dbb 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 #CA4D8D; nudged cooler, #AC4BCC.

Work with #ca4dbb in the Color Lab