Skip to content

#cf0daf

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

RGB
207, 13, 175
HSL
310°, 88%, 43%
CMYK
0, 94, 16, 19
Luminance
0.1665

At a glance

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

Hex
#cf0daf
Hue
310°
magenta / pink
Saturation
88%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1665
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.85:1
Closest name
Medium Violet Red
ΔE2000 7.5
Where it sits
Hue310° of 360°
Saturation88%
Lightness43%
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#cf0daf
RGBrgb(207, 13, 175)
HSLhsl(310, 88%, 43%)
CMYKcmyk(0%, 94%, 16%, 19%)
LABlab(47.8 78.5 -35.5)
LCHlch(47.8 86.2 335.6)
OKLCHoklch(0.584 0.252 337.4)
Decimal13569455
Display P3color(display-p3 0.812 0.051 0.686)

Copy-ready code

/* CSS */
color: #cf0daf;
background-color: #cf0daf;
/* Tailwind (arbitrary) */
class="text-[#cf0daf] bg-[#cf0daf]"
/* SCSS */
$brand: #cf0daf;
/* SwiftUI */
Color(red: 0.812, green: 0.051, blue: 0.686)
/* Android */
Color.parseColor("#cf0daf")
/* Flutter */
Color(0xFFCF0DAF)
/* Python / OpenCV (BGR) */
(175, 13, 207)

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

Accessibility — WCAG contrast

Aa
#cf0daf on white: 4.85:1
AA ✓ pass · AA-large · AAA
Aa
#cf0daf on black: 4.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1C60B3
deuteranopia · #677BAB
tritanopia · #DB2567

Color scale — 50 to 950

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

#FDF2FB
#FAE5F7
#F8C4EF
#F895E8
#F561DD
#F22CD1
#E60EC3
#cf0daf
#9A0A82
#6F0C5E
#45073B
Base = 700Lightest = 50 · #FDF2FBDarkest = 950 · #45073B
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FAE5F7;
  --brand-200: #F8C4EF;
  --brand-300: #F895E8;
  --brand-400: #F561DD;
  --brand-500: #F22CD1;
  --brand-600: #E60EC3;
  --brand-700: #cf0daf;
  --brand-800: #9A0A82;
  --brand-900: #6F0C5E;
  --brand-950: #45073B;
  --brand: #cf0daf;
  --brand-ink: #ffffff;
}

Colors that work with #cf0daf

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#EDC0E5
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#18C408
Second voice, not a rival
Dark variant#780865
Hover, pressed, headers
Light variant#FDE7FA
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 #cf0daf

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#0DCF2D
Analogous left#8E0DCF
Analogous right#CF0D4E
Split-complement 1#4ECF0D
Split-complement 2#0DCF8E
Triadic 1#AFCF0D
Triadic 2#0DAFCF
Tetradic#CF8E0D

RGB percentages

Red81.2%
Green5.1%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow15.5%
Key (black)18.8%

Color previews

#cf0daf text on a black background

contrast 4.33:1

Card sample

#cf0daf text on a white background

contrast 4.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0daf

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.

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

#cf0daf, answered

What color is #cf0daf?

#cf0daf is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 7.5). It sits at 310° on the hue wheel with 88% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #cf0daf?

rgb(207, 13, 175) — 207 red, 13 green and 175 blue out of 255, or 81.2% / 5.1% / 68.6% by channel.

Is #cf0daf a light or a dark color?

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

Should I use black or white text on #cf0daf?

White. It scores 4.85:1 against #cf0daf, versus 4.33:1 for black — AA at any size.

What is the complementary color of #cf0daf?

#0DCF2D sits directly opposite on the wheel. Softer options are the split-complements #4ECF0D and #0DCF8E, which give the same contrast with far less vibration.

What colors go well with #cf0daf?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8E for secondary text, #18C408 as an accent and #780865 for hover and pressed states. For a palette, the analogous pair #8E0DCF and #CF0D4E stays calm, while #0DCF2D is the loudest partner.

What is #cf0daf in CMYK for printing?

cmyk(0%, 94%, 16%, 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 #cf0daf 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 #CF0D68; nudged cooler, #A90BD1.

Work with #cf0daf in the Color Lab