Skip to content

#d30146

a dark, electric magenta / pink · warm · closest name: Crimson

RGB
211, 1, 70
HSL
340°, 99%, 42%
CMYK
0, 100, 67, 17
Luminance
0.1431

At a glance

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

Hex
#d30146
Hue
340°
magenta / pink
Saturation
99%
electric
Lightness
42%
dark
Brightness
83%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1431
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.44:1
Closest name
Crimson
ΔE2000 4.9
Where it sits
Hue340° of 360°
Saturation99%
Lightness42%
Temperature
Warm ← → Cool28% 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#d30146
RGBrgb(211, 1, 70)
HSLhsl(340, 99%, 42%)
CMYKcmyk(0%, 100%, 67%, 17%)
LABlab(44.7 71.1 24.2)
LCHlch(44.7 75.1 18.8)
OKLCHoklch(0.551 0.220 15.1)
Decimal13828422
Display P3color(display-p3 0.827 0.004 0.275)

Copy-ready code

/* CSS */
color: #d30146;
background-color: #d30146;
/* Tailwind (arbitrary) */
class="text-[#d30146] bg-[#d30146]"
/* SCSS */
$brand: #d30146;
/* SwiftUI */
Color(red: 0.827, green: 0.004, blue: 0.275)
/* Android */
Color.parseColor("#d30146")
/* Flutter */
Color(0xFFD30146)
/* Python / OpenCV (BGR) */
(70, 1, 211)

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

Accessibility — WCAG contrast

Aa
#d30146 on white: 5.44:1
AA ✓ pass · AA-large · AAA
Aa
#d30146 on black: 3.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #535046
deuteranopia · #837740
tritanopia · #E80029

Color scale — 50 to 950

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

#FEF1F5
#FCE3EB
#FBC0D4
#FE8FB4
#FE578E
#FE2069
#F40151
#d30146
#A20136
#75052A
#49031A
Base = 700Lightest = 50 · #FEF1F5Darkest = 950 · #49031A
:root {
  --brand-50: #FEF1F5;
  --brand-100: #FCE3EB;
  --brand-200: #FBC0D4;
  --brand-300: #FE8FB4;
  --brand-400: #FE578E;
  --brand-500: #FE2069;
  --brand-600: #F40151;
  --brand-700: #d30146;
  --brand-800: #A20136;
  --brand-900: #75052A;
  --brand-950: #49031A;
  --brand: #d30146;
  --brand-ink: #ffffff;
}

Colors that work with #d30146

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#FAF4F6
Tinted page background
Border#EDC0CE
Hairlines and dividers
Muted text#9B4B65
Captions on the surface
Accent#00CC56
Second voice, not a rival
Dark variant#7F012A
Hover, pressed, headers
Light variant#FFE6EE
Selected rows, tints
Dark surface#241419
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 #d30146

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#01D38E
Analogous left#D301AF
Analogous right#D32501
Split-complement 1#01D325
Split-complement 2#01AFD3
Triadic 1#46D301
Triadic 2#0146D3
Tetradic#AFD301

RGB percentages

Red82.7%
Green0.4%
Blue27.5%

CMYK percentages

Cyan0.0%
Magenta99.5%
Yellow66.8%
Key (black)17.3%

Color previews

#d30146 text on a black background

contrast 3.86:1

Card sample

#d30146 text on a white background

contrast 5.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d30146

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.

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

#d30146, answered

What color is #d30146?

#d30146 is a dark electric magenta / pink, closest to Crimson (ΔE2000 4.9). It sits at 340° on the hue wheel with 99% saturation and 42% lightness, which reads as warm.

What is the RGB value of #d30146?

rgb(211, 1, 70) — 211 red, 1 green and 70 blue out of 255, or 82.7% / 0.4% / 27.5% by channel.

Is #d30146 a light or a dark color?

It is a dark color. Relative luminance is 0.1431 and perceived brightness is 46%, so white text on it reaches 5.44:1.

Should I use black or white text on #d30146?

White. It scores 5.44:1 against #d30146, versus 3.86:1 for black — AA at any size.

What is the complementary color of #d30146?

#01D38E sits directly opposite on the wheel. Softer options are the split-complements #01D325 and #01AFD3, which give the same contrast with far less vibration.

What colors go well with #d30146?

For interface work: #FAF4F6 as the surface, #EDC0CE for borders, #9B4B65 for secondary text, #00CC56 as an accent and #7F012A for hover and pressed states. For a palette, the analogous pair #D301AF and #D32501 stays calm, while #01D38E is the loudest partner.

What is #d30146 in CMYK for printing?

cmyk(0%, 100%, 67%, 17%). 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 #d30146 warm or cool?

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

Work with #d30146 in the Color Lab