Skip to content

#ca1eb0

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

RGB
202, 30, 176
HSL
309°, 74%, 46%
CMYK
0, 85, 13, 21
Luminance
0.1662

At a glance

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

Hex
#ca1eb0
Hue
309°
magenta / pink
Saturation
74%
vivid
Lightness
46%
balanced
Brightness
79%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1662
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.86:1
Closest name
Medium Violet Red
ΔE2000 7.9
Where it sits
Hue309° of 360°
Saturation74%
Lightness46%
Temperature
Warm ← → Cool45% 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#ca1eb0
RGBrgb(202, 30, 176)
HSLhsl(309, 74%, 46%)
CMYKcmyk(0%, 85%, 13%, 21%)
LABlab(47.8 75.3 -36.3)
LCHlch(47.8 83.6 334.3)
OKLCHoklch(0.582 0.242 335.8)
Decimal13246128
Display P3color(display-p3 0.792 0.118 0.690)

Copy-ready code

/* CSS */
color: #ca1eb0;
background-color: #ca1eb0;
/* Tailwind (arbitrary) */
class="text-[#ca1eb0] bg-[#ca1eb0]"
/* SCSS */
$brand: #ca1eb0;
/* SwiftUI */
Color(red: 0.792, green: 0.118, blue: 0.690)
/* Android */
Color.parseColor("#ca1eb0")
/* Flutter */
Color(0xFFCA1EB0)
/* Python / OpenCV (BGR) */
(176, 30, 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#ffffff on #ca1eb0 · 4.86:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.86:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.32:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ca1eb0 as text scores 4.86:1 on white and 4.32:1 on black.

Accessibility — WCAG contrast

Aa
#ca1eb0 on white: 4.86:1
AA ✓ pass · AA-large · AAA
Aa
#ca1eb0 on black: 4.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2062B4
deuteranopia · #657AAC
tritanopia · #D5306A

Color scale — 50 to 950

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

#FCF3FA
#F9E7F6
#F3C8ED
#F09DE4
#E96CD6
#E23CC9
#ca1eb0
#B21A9B
#8E157C
#67135A
#400C38
Base = 600Lightest = 50 · #FCF3FADarkest = 950 · #400C38
:root {
  --brand-50: #FCF3FA;
  --brand-100: #F9E7F6;
  --brand-200: #F3C8ED;
  --brand-300: #F09DE4;
  --brand-400: #E96CD6;
  --brand-500: #E23CC9;
  --brand-600: #ca1eb0;
  --brand-700: #B21A9B;
  --brand-800: #8E157C;
  --brand-900: #67135A;
  --brand-950: #400C38;
  --brand: #ca1eb0;
  --brand-ink: #ffffff;
}

Colors that work with #ca1eb0

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F9
Tinted page background
Border#EDC0E6
Hairlines and dividers
Muted text#9B4B8F
Captions on the surface
Accent#26B616
Second voice, not a rival
Dark variant#6F1161
Hover, pressed, headers
Light variant#FCE9F9
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 #ca1eb0

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • 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#1ECA38
Analogous left#8E1ECA
Analogous right#CA1E5A
Split-complement 1#5ACA1E
Split-complement 2#1ECA8E
Triadic 1#B0CA1E
Triadic 2#1EB0CA
Tetradic#CA8E1E

RGB percentages

Red79.2%
Green11.8%
Blue69.0%

CMYK percentages

Cyan0.0%
Magenta85.1%
Yellow12.9%
Key (black)20.8%

Color previews

#ca1eb0 text on a black background

contrast 4.32:1

Card sample

#ca1eb0 text on a white background

contrast 4.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca1eb0

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.

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

#ca1eb0, answered

What color is #ca1eb0?

#ca1eb0 is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 7.9). It sits at 309° on the hue wheel with 74% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #ca1eb0?

rgb(202, 30, 176) — 202 red, 30 green and 176 blue out of 255, or 79.2% / 11.8% / 69% by channel.

Is #ca1eb0 a light or a dark color?

It is a dark color. Relative luminance is 0.1662 and perceived brightness is 50%, so white text on it reaches 4.86:1.

Should I use black or white text on #ca1eb0?

White. It scores 4.86:1 against #ca1eb0, versus 4.32:1 for black — AA at any size.

What is the complementary color of #ca1eb0?

#1ECA38 sits directly opposite on the wheel. Softer options are the split-complements #5ACA1E and #1ECA8E, which give the same contrast with far less vibration.

What colors go well with #ca1eb0?

For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8F for secondary text, #26B616 as an accent and #6F1161 for hover and pressed states. For a palette, the analogous pair #8E1ECA and #CA1E5A stays calm, while #1ECA38 is the loudest partner.

What is #ca1eb0 in CMYK for printing?

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

Is #ca1eb0 warm or cool?

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

Work with #ca1eb0 in the Color Lab