Skip to content

#32142d

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

RGB
50, 20, 45
HSL
310°, 43%, 14%
CMYK
0, 60, 10, 80
Luminance
0.0137

At a glance

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

Hex
#32142d
Hue
310°
magenta / pink
Saturation
43%
soft
Lightness
14%
deep
Brightness
20%
HSV value
Perceived
14%
weighted brightness
Luminance
0.0137
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
16.49:1
Closest name
Midnight Blue
ΔE2000 18.4
Where it sits
Hue310° of 360°
Saturation43%
Lightness14%
Temperature
Warm ← → Cool44% 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#32142d
RGBrgb(50, 20, 45)
HSLhsl(310, 43%, 14%)
CMYKcmyk(0%, 60%, 10%, 80%)
LABlab(11.7 19.4 -10.0)
LCHlch(11.7 21.8 332.6)
OKLCHoklch(0.247 0.062 333.9)
Decimal3281965
Display P3color(display-p3 0.196 0.078 0.176)

Copy-ready code

/* CSS */
color: #32142d;
background-color: #32142d;
/* Tailwind (arbitrary) */
class="text-[#32142d] bg-[#32142d]"
/* SCSS */
$brand: #32142d;
/* SwiftUI */
Color(red: 0.196, green: 0.078, blue: 0.176)
/* Android */
Color.parseColor("#32142d")
/* Flutter */
Color(0xFF32142D)
/* Python / OpenCV (BGR) */
(45, 20, 50)

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

Accessibility — WCAG contrast

Aa
#32142d on white: 16.49:1
AA ✓ pass · AA-large · AAA
Aa
#32142d on black: 1.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #141C2E
deuteranopia · #1C212C
tritanopia · #34161E

Color scale — 50 to 950

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

#FAF5F9
#F5EBF3
#EAD1E6
#DFAFD7
#CF87C3
#BF5FAF
#AF469D
#923A83
#752F69
#55254D
#32142d
Base = 950Lightest = 50 · #FAF5F9Darkest = 950 · #32142d
:root {
  --brand-50: #FAF5F9;
  --brand-100: #F5EBF3;
  --brand-200: #EAD1E6;
  --brand-300: #DFAFD7;
  --brand-400: #CF87C3;
  --brand-500: #BF5FAF;
  --brand-600: #AF469D;
  --brand-700: #923A83;
  --brand-800: #752F69;
  --brand-900: #55254D;
  --brand-950: #32142d;
  --brand: #32142d;
  --brand-ink: #ffffff;
}

Colors that work with #32142d

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#E8C5E2
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#153313
Second voice, not a rival
Dark variant#5B2452
Hover, pressed, headers
Light variant#F8EDF6
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 #32142d

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#143219
Analogous left#281432
Analogous right#32141E
Split-complement 1#1E3214
Split-complement 2#143228
Triadic 1#2D3214
Triadic 2#142D32
Tetradic#322814

RGB percentages

Red19.6%
Green7.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta60.0%
Yellow10.0%
Key (black)80.4%

Color previews

#32142d text on a black background

contrast 1.27:1

Card sample

#32142d text on a white background

contrast 16.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(50, 20, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 20, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #32142d;
background: linear-gradient(135deg, #32142d, #321419);

Monochromatic scale

Palettes built from #32142d

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.

#32142d 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.

#32142d, answered

What color is #32142d?

#32142d is a deep soft magenta / pink, closest to Midnight Blue (ΔE2000 18.4). It sits at 310° on the hue wheel with 43% saturation and 14% lightness, which reads as neutral.

What is the RGB value of #32142d?

rgb(50, 20, 45) — 50 red, 20 green and 45 blue out of 255, or 19.6% / 7.8% / 17.6% by channel.

Is #32142d a light or a dark color?

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

Should I use black or white text on #32142d?

White. It scores 16.49:1 against #32142d, versus 1.27:1 for black — AAA at any size.

What is the complementary color of #32142d?

#143219 sits directly opposite on the wheel. Softer options are the split-complements #1E3214 and #143228, which give the same contrast with far less vibration.

What colors go well with #32142d?

For interface work: #FAF4F9 as the surface, #E8C5E2 for borders, #9B4B8E for secondary text, #153313 as an accent and #5B2452 for hover and pressed states. For a palette, the analogous pair #281432 and #32141E stays calm, while #143219 is the loudest partner.

What is #32142d in CMYK for printing?

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

Is #32142d warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #321422; nudged cooler, #2C1333.

Work with #32142d in the Color Lab