Skip to content

#cf019b

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

RGB
207, 1, 155
HSL
315°, 99%, 41%
CMYK
0, 100, 25, 19
Luminance
0.1565

At a glance

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

Hex
#cf019b
Hue
315°
magenta / pink
Saturation
99%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1565
WCAG relative
Temperature
Warm
42/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.08:1
Closest name
Medium Violet Red
ΔE2000 4.1
Where it sits
Hue315° of 360°
Saturation99%
Lightness41%
Temperature
Warm ← → Cool42% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cf019b
RGBrgb(207, 1, 155)
HSLhsl(315, 99%, 41%)
CMYKcmyk(0%, 100%, 25%, 19%)
LABlab(46.5 77.1 -25.7)
LCHlch(46.5 81.3 341.6)
OKLCHoklch(0.572 0.244 343.6)
Decimal13566363
Display P3color(display-p3 0.812 0.004 0.608)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf019b on white: 5.08:1
AA ✓ pass · AA-large · AAA
Aa
#cf019b on black: 4.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2F5B9E
deuteranopia · #6E7997
tritanopia · #DD005A

Color scale — 50 to 950

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

#FEF1FA
#FCE3F6
#FBC0ED
#FE8FE2
#FE58D4
#FE20C6
#F401B7
#cf019b
#A2017A
#750559
#490338
Base = 700Lightest = 50 · #FEF1FADarkest = 950 · #490338
:root {
  --brand-50: #FEF1FA;
  --brand-100: #FCE3F6;
  --brand-200: #FBC0ED;
  --brand-300: #FE8FE2;
  --brand-400: #FE58D4;
  --brand-500: #FE20C6;
  --brand-600: #F401B7;
  --brand-700: #cf019b;
  --brand-800: #A2017A;
  --brand-900: #750559;
  --brand-950: #490338;
  --brand: #cf019b;
  --brand-ink: #ffffff;
}

Colors that work with #cf019b

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#EDC0E1
Hairlines and dividers
Muted text#9B4B87
Captions on the surface
Accent#00CC00
Second voice, not a rival
Dark variant#7F015F
Hover, pressed, headers
Light variant#FFE6F9
Selected rows, tints
Dark surface#241420
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 #cf019b

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#01CF35
Analogous left#9C01CF
Analogous right#CF0134
Split-complement 1#34CF01
Split-complement 2#01CF9C
Triadic 1#9BCF01
Triadic 2#019BCF
Tetradic#CF9C01

RGB percentages

Red81.2%
Green0.4%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta99.5%
Yellow25.1%
Key (black)18.8%

Color previews

#cf019b text on a black background

contrast 4.13:1

Card sample

#cf019b text on a white background

contrast 5.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf019b

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.

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

#cf019b, answered

What color is #cf019b?

#cf019b is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 4.1). It sits at 315° on the hue wheel with 99% saturation and 41% lightness, which reads as warm.

What is the RGB value of #cf019b?

rgb(207, 1, 155) — 207 red, 1 green and 155 blue out of 255, or 81.2% / 0.4% / 60.8% by channel.

Is #cf019b a light or a dark color?

It is a dark color. Relative luminance is 0.1565 and perceived brightness is 49%, so white text on it reaches 5.08:1.

Should I use black or white text on #cf019b?

White. It scores 5.08:1 against #cf019b, versus 4.13:1 for black — AA at any size.

What is the complementary color of #cf019b?

#01CF35 sits directly opposite on the wheel. Softer options are the split-complements #34CF01 and #01CF9C, which give the same contrast with far less vibration.

What colors go well with #cf019b?

For interface work: #FAF4F9 as the surface, #EDC0E1 for borders, #9B4B87 for secondary text, #00CC00 as an accent and #7F015F for hover and pressed states. For a palette, the analogous pair #9C01CF and #CF0134 stays calm, while #01CF35 is the loudest partner.

What is #cf019b in CMYK for printing?

cmyk(0%, 100%, 25%, 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 #cf019b warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF0150; nudged cooler, #B800D0.

Work with #cf019b in the Color Lab