Skip to content

#2d1c2f

a deep, soft magenta / pink · neutral · closest name: Black

RGB
45, 28, 47
HSL
294°, 25%, 15%
CMYK
4, 40, 0, 82
Luminance
0.0159

At a glance

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

Hex
#2d1c2f
Hue
294°
magenta / pink
Saturation
25%
soft
Lightness
15%
deep
Brightness
18%
HSV value
Perceived
14%
weighted brightness
Luminance
0.0159
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
15.92:1
Closest name
Black
ΔE2000 16.3
Where it sits
Hue294° of 360°
Saturation25%
Lightness15%
Temperature
Warm ← → Cool53% 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#2d1c2f
RGBrgb(45, 28, 47)
HSLhsl(294, 25%, 15%)
CMYKcmyk(4%, 40%, 0%, 82%)
LABlab(13.2 12.4 -9.3)
LCHlch(13.2 15.6 323.2)
OKLCHoklch(0.257 0.042 323.0)
Decimal2956335
Display P3color(display-p3 0.176 0.110 0.184)

Copy-ready code

/* CSS */
color: #2d1c2f;
background-color: #2d1c2f;
/* Tailwind (arbitrary) */
class="text-[#2d1c2f] bg-[#2d1c2f]"
/* SCSS */
$brand: #2d1c2f;
/* SwiftUI */
Color(red: 0.176, green: 0.110, blue: 0.184)
/* Android */
Color.parseColor("#2d1c2f")
/* Flutter */
Color(0xFF2D1C2F)
/* Python / OpenCV (BGR) */
(47, 28, 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 #2d1c2f · 15.92:1
Use #ffffffAAA at every size.
Aa
White text · 15.92:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.32:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2d1c2f as text scores 15.92:1 on white and 1.32:1 on black.

Accessibility — WCAG contrast

Aa
#2d1c2f on white: 15.92:1
AA ✓ pass · AA-large · AAA
Aa
#2d1c2f on black: 1.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1A2130
deuteranopia · #1E232E
tritanopia · #2E1E23

Color scale — 50 to 950

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

#F9F6F9
#F2EDF3
#E4D6E5
#D2B9D5
#BC96C0
#A572AB
#935B99
#7A4C80
#623D66
#482F4B
#2d1c2f
Base = 950Lightest = 50 · #F9F6F9Darkest = 950 · #2d1c2f
:root {
  --brand-50: #F9F6F9;
  --brand-100: #F2EDF3;
  --brand-200: #E4D6E5;
  --brand-300: #D2B9D5;
  --brand-400: #BC96C0;
  --brand-500: #A572AB;
  --brand-600: #935B99;
  --brand-700: #7A4C80;
  --brand-800: #623D66;
  --brand-900: #482F4B;
  --brand-950: #2d1c2f;
  --brand: #2d1c2f;
  --brand-ink: #ffffff;
}

Colors that work with #2d1c2f

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#F9F5F9
Tinted page background
Border#DECCE1
Hairlines and dividers
Muted text#8A5690
Captions on the surface
Accent#22301B
Second voice, not a rival
Dark variant#4C3050
Hover, pressed, headers
Light variant#F5EFF5
Selected rows, tints
Dark surface#221523
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 #2d1c2f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#1E2F1C
Analogous left#231C2F
Analogous right#2F1C27
Split-complement 1#272F1C
Split-complement 2#1C2F23
Triadic 1#2F2D1C
Triadic 2#1C2F2D
Tetradic#2F231C

RGB percentages

Red17.6%
Green11.0%
Blue18.4%

CMYK percentages

Cyan4.3%
Magenta40.4%
Yellow0.0%
Key (black)81.6%

Color previews

#2d1c2f text on a black background

contrast 1.32:1

Card sample

#2d1c2f text on a white background

contrast 15.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d1c2f

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.

#2d1c2f 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

Converts to four-color process without much drama. Proof it anyway.

#2d1c2f, answered

What color is #2d1c2f?

#2d1c2f is a deep soft magenta / pink, closest to Black (ΔE2000 16.3). It sits at 294° on the hue wheel with 25% saturation and 15% lightness, which reads as neutral.

What is the RGB value of #2d1c2f?

rgb(45, 28, 47) — 45 red, 28 green and 47 blue out of 255, or 17.6% / 11% / 18.4% by channel.

Is #2d1c2f a light or a dark color?

It is a dark color. Relative luminance is 0.0159 and perceived brightness is 14%, so white text on it reaches 15.92:1.

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

White. It scores 15.92:1 against #2d1c2f, versus 1.32:1 for black — AAA at any size.

What is the complementary color of #2d1c2f?

#1E2F1C sits directly opposite on the wheel. Softer options are the split-complements #272F1C and #1C2F23, which give the same contrast with far less vibration.

What colors go well with #2d1c2f?

For interface work: #F9F5F9 as the surface, #DECCE1 for borders, #8A5690 for secondary text, #22301B as an accent and #4C3050 for hover and pressed states. For a palette, the analogous pair #231C2F and #2F1C27 stays calm, while #1E2F1C is the loudest partner.

What is #2d1c2f in CMYK for printing?

cmyk(4%, 40%, 0%, 82%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2d1c2f warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2F1C2A; nudged cooler, #261B30.

Work with #2d1c2f in the Color Lab