Skip to content

#ca07cf

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

RGB
202, 7, 207
HSL
299°, 94%, 42%
CMYK
2, 97, 0, 19
Luminance
0.1721

At a glance

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

Hex
#ca07cf
Hue
299°
magenta / pink
Saturation
94%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1721
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.73:1
Closest name
Medium Orchid
ΔE2000 7.7
Where it sits
Hue299° of 360°
Saturation94%
Lightness42%
Temperature
Warm ← → Cool51% 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#ca07cf
RGBrgb(202, 7, 207)
HSLhsl(299, 94%, 42%)
CMYKcmyk(2%, 97%, 0%, 19%)
LABlab(48.5 82.6 -53.1)
LCHlch(48.5 98.2 327.2)
OKLCHoklch(0.593 0.272 327.0)
Decimal13240271
Display P3color(display-p3 0.792 0.027 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca07cf on white: 4.73:1
AA ✓ pass · AA-large · AAA
Aa
#ca07cf on black: 4.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065D3
deuteranopia · #4E7BCB
tritanopia · #D03E7A

Color scale — 50 to 950

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

#FDF2FD
#FBE4FB
#F8C2FA
#F992FB
#F65CFA
#F226F8
#E708ED
#ca07cf
#9A059E
#6F0972
#460547
Base = 700Lightest = 50 · #FDF2FDDarkest = 950 · #460547
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FBE4FB;
  --brand-200: #F8C2FA;
  --brand-300: #F992FB;
  --brand-400: #F65CFA;
  --brand-500: #F226F8;
  --brand-600: #E708ED;
  --brand-700: #ca07cf;
  --brand-800: #9A059E;
  --brand-900: #6F0972;
  --brand-950: #460547;
  --brand: #ca07cf;
  --brand-ink: #ffffff;
}

Colors that work with #ca07cf

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#FAF4FA
Tinted page background
Border#ECC0ED
Hairlines and dividers
Muted text#994B9B
Captions on the surface
Accent#39C903
Second voice, not a rival
Dark variant#78047B
Hover, pressed, headers
Light variant#FEE6FE
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 #ca07cf

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#0CCF07
Analogous left#6607CF
Analogous right#CF0770
Split-complement 1#70CF07
Split-complement 2#07CF66
Triadic 1#CFCA07
Triadic 2#07CFCA
Tetradic#CF6607

RGB percentages

Red79.2%
Green2.7%
Blue81.2%

CMYK percentages

Cyan2.4%
Magenta96.6%
Yellow0.0%
Key (black)18.8%

Color previews

#ca07cf text on a black background

contrast 4.44:1

Card sample

#ca07cf text on a white background

contrast 4.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca07cf

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.

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

#ca07cf, answered

What color is #ca07cf?

#ca07cf is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 7.7). It sits at 299° on the hue wheel with 94% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #ca07cf?

rgb(202, 7, 207) — 202 red, 7 green and 207 blue out of 255, or 79.2% / 2.7% / 81.2% by channel.

Is #ca07cf a light or a dark color?

It is a dark color. Relative luminance is 0.1721 and perceived brightness is 51%, so white text on it reaches 4.73:1.

Should I use black or white text on #ca07cf?

White. It scores 4.73:1 against #ca07cf, versus 4.44:1 for black — AA at any size.

What is the complementary color of #ca07cf?

#0CCF07 sits directly opposite on the wheel. Softer options are the split-complements #70CF07 and #07CF66, which give the same contrast with far less vibration.

What colors go well with #ca07cf?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #994B9B for secondary text, #39C903 as an accent and #78047B for hover and pressed states. For a palette, the analogous pair #6607CF and #CF0770 stays calm, while #0CCF07 is the loudest partner.

What is #ca07cf in CMYK for printing?

cmyk(2%, 97%, 0%, 19%). 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 #ca07cf warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF078B; nudged cooler, #8105D1.

Work with #ca07cf in the Color Lab