Skip to content

#2d0621

a deep, electric magenta / pink · warm · closest name: Black

RGB
45, 6, 33
HSL
319°, 77%, 10%
CMYK
0, 87, 27, 82
Luminance
0.0080

At a glance

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

Hex
#2d0621
Hue
319°
magenta / pink
Saturation
77%
electric
Lightness
10%
deep
Brightness
18%
HSV value
Perceived
11%
weighted brightness
Luminance
0.0080
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
18.11:1
Closest name
Black
ΔE2000 20
Where it sits
Hue319° of 360°
Saturation77%
Lightness10%
Temperature
Warm ← → Cool40% 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#2d0621
RGBrgb(45, 6, 33)
HSLhsl(319, 77%, 10%)
CMYKcmyk(0%, 87%, 27%, 82%)
LABlab(7.2 23.2 -8.1)
LCHlch(7.2 24.5 340.7)
OKLCHoklch(0.209 0.073 342.6)
Decimal2950689
Display P3color(display-p3 0.176 0.024 0.129)

Copy-ready code

/* CSS */
color: #2d0621;
background-color: #2d0621;
/* Tailwind (arbitrary) */
class="text-[#2d0621] bg-[#2d0621]"
/* SCSS */
$brand: #2d0621;
/* SwiftUI */
Color(red: 0.176, green: 0.024, blue: 0.129)
/* Android */
Color.parseColor("#2d0621")
/* Flutter */
Color(0xFF2D0621)
/* Python / OpenCV (BGR) */
(33, 6, 45)

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 #2d0621 · 18.11:1
Use #ffffffAAA at every size.
Aa
White text · 18.11:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.16:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2d0621 as text scores 18.11:1 on white and 1.16:1 on black.

Accessibility — WCAG contrast

Aa
#2d0621 on white: 18.11:1
AA ✓ pass · AA-large · AAA
Aa
#2d0621 on black: 1.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #091222
deuteranopia · #151820
tritanopia · #300612

Color scale — 50 to 950

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

#FCF3F9
#F9E7F3
#F4C8E6
#F29CD7
#EB6AC4
#E539B0
#D81D9E
#B41884
#90136A
#68124E
#2d0621
Base = 950Lightest = 50 · #FCF3F9Darkest = 950 · #2d0621
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F9E7F3;
  --brand-200: #F4C8E6;
  --brand-300: #F29CD7;
  --brand-400: #EB6AC4;
  --brand-500: #E539B0;
  --brand-600: #D81D9E;
  --brand-700: #B41884;
  --brand-800: #90136A;
  --brand-900: #68124E;
  --brand-950: #2d0621;
  --brand: #2d0621;
  --brand-ink: #ffffff;
}

Colors that work with #2d0621

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#EDC0DF
Hairlines and dividers
Muted text#9B4B82
Captions on the surface
Accent#052E07
Second voice, not a rival
Dark variant#710F52
Hover, pressed, headers
Light variant#FCE8F6
Selected rows, tints
Dark surface#24141F
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 #2d0621

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
  • Text on black or near-black surfaces
  • 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#062D12
Analogous left#26062D
Analogous right#2D060D
Split-complement 1#0D2D06
Split-complement 2#062D26
Triadic 1#212D06
Triadic 2#06212D
Tetradic#2D2606

RGB percentages

Red17.6%
Green2.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta86.7%
Yellow26.7%
Key (black)82.4%

Color previews

#2d0621 text on a black background

contrast 1.16:1

Card sample

#2d0621 text on a white background

contrast 18.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 6, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 6, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d0621;
background: linear-gradient(135deg, #2d0621, #2D0607);

Monochromatic scale

Palettes built from #2d0621

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.

#2d0621 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.

#2d0621, answered

What color is #2d0621?

#2d0621 is a deep electric magenta / pink, closest to Black (ΔE2000 20). It sits at 319° on the hue wheel with 77% saturation and 10% lightness, which reads as warm.

What is the RGB value of #2d0621?

rgb(45, 6, 33) — 45 red, 6 green and 33 blue out of 255, or 17.6% / 2.4% / 12.9% by channel.

Is #2d0621 a light or a dark color?

It is a dark color. Relative luminance is 0.0080 and perceived brightness is 11%, so white text on it reaches 18.11:1.

Should I use black or white text on #2d0621?

White. It scores 18.11:1 against #2d0621, versus 1.16:1 for black — AAA at any size.

What is the complementary color of #2d0621?

#062D12 sits directly opposite on the wheel. Softer options are the split-complements #0D2D06 and #062D26, which give the same contrast with far less vibration.

What colors go well with #2d0621?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B82 for secondary text, #052E07 as an accent and #710F52 for hover and pressed states. For a palette, the analogous pair #26062D and #2D060D stays calm, while #062D12 is the loudest partner.

What is #2d0621 in CMYK for printing?

cmyk(0%, 87%, 27%, 82%). 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 #2d0621 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2D0613; nudged cooler, #2B052E.

Work with #2d0621 in the Color Lab