Skip to content

#3d0f2f

a deep, vivid magenta / pink · warm · closest name: Purple

RGB
61, 15, 47
HSL
318°, 61%, 15%
CMYK
0, 75, 23, 76
Luminance
0.0154

At a glance

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

Hex
#3d0f2f
Hue
318°
magenta / pink
Saturation
61%
vivid
Lightness
15%
deep
Brightness
24%
HSV value
Perceived
15%
weighted brightness
Luminance
0.0154
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
16.06:1
Closest name
Purple
ΔE2000 18.1
Where it sits
Hue318° of 360°
Saturation61%
Lightness15%
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#3d0f2f
RGBrgb(61, 15, 47)
HSLhsl(318, 61%, 15%)
CMYKcmyk(0%, 75%, 23%, 76%)
LABlab(12.9 26.4 -9.6)
LCHlch(12.9 28.1 340.0)
OKLCHoklch(0.260 0.083 341.9)
Decimal4001583
Display P3color(display-p3 0.239 0.059 0.184)

Copy-ready code

/* CSS */
color: #3d0f2f;
background-color: #3d0f2f;
/* Tailwind (arbitrary) */
class="text-[#3d0f2f] bg-[#3d0f2f]"
/* SCSS */
$brand: #3d0f2f;
/* SwiftUI */
Color(red: 0.239, green: 0.059, blue: 0.184)
/* Android */
Color.parseColor("#3d0f2f")
/* Flutter */
Color(0xFF3D0F2F)
/* Python / OpenCV (BGR) */
(47, 15, 61)

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

Accessibility — WCAG contrast

Aa
#3d0f2f on white: 16.06:1
AA ✓ pass · AA-large · AAA
Aa
#3d0f2f on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #131C30
deuteranopia · #20242E
tritanopia · #41101D

Color scale — 50 to 950

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

#FBF4F9
#F7E8F3
#EFCCE5
#E9A5D4
#DE78BF
#D34BA9
#C43097
#A4287E
#832065
#5F1B4A
#3d0f2f
Base = 950Lightest = 50 · #FBF4F9Darkest = 950 · #3d0f2f
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F7E8F3;
  --brand-200: #EFCCE5;
  --brand-300: #E9A5D4;
  --brand-400: #DE78BF;
  --brand-500: #D34BA9;
  --brand-600: #C43097;
  --brand-700: #A4287E;
  --brand-800: #832065;
  --brand-900: #5F1B4A;
  --brand-950: #3d0f2f;
  --brand: #3d0f2f;
  --brand-ink: #ffffff;
}

Colors that work with #3d0f2f

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#0D3F10
Second voice, not a rival
Dark variant#66194F
Hover, pressed, headers
Light variant#FAEBF5
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 #3d0f2f

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#0F3D1D
Analogous left#340F3D
Analogous right#3D0F18
Split-complement 1#183D0F
Split-complement 2#0F3D34
Triadic 1#2F3D0F
Triadic 2#0F2F3D
Tetradic#3D340F

RGB percentages

Red23.9%
Green5.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta75.4%
Yellow23.0%
Key (black)76.1%

Color previews

#3d0f2f text on a black background

contrast 1.31:1

Card sample

#3d0f2f text on a white background

contrast 16.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(61, 15, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 15, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d0f2f;
background: linear-gradient(135deg, #3d0f2f, #3D0F10);

Monochromatic scale

Palettes built from #3d0f2f

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.

#3d0f2f 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.

#3d0f2f, answered

What color is #3d0f2f?

#3d0f2f is a deep vivid magenta / pink, closest to Purple (ΔE2000 18.1). It sits at 318° on the hue wheel with 61% saturation and 15% lightness, which reads as warm.

What is the RGB value of #3d0f2f?

rgb(61, 15, 47) — 61 red, 15 green and 47 blue out of 255, or 23.9% / 5.9% / 18.4% by channel.

Is #3d0f2f a light or a dark color?

It is a dark color. Relative luminance is 0.0154 and perceived brightness is 15%, so white text on it reaches 16.06:1.

Should I use black or white text on #3d0f2f?

White. It scores 16.06:1 against #3d0f2f, versus 1.31:1 for black — AAA at any size.

What is the complementary color of #3d0f2f?

#0F3D1D sits directly opposite on the wheel. Softer options are the split-complements #183D0F and #0F3D34, which give the same contrast with far less vibration.

What colors go well with #3d0f2f?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B82 for secondary text, #0D3F10 as an accent and #66194F for hover and pressed states. For a palette, the analogous pair #340F3D and #3D0F18 stays calm, while #0F3D1D is the loudest partner.

What is #3d0f2f in CMYK for printing?

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

Is #3d0f2f 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 #3D0F1E; nudged cooler, #3B0E3E.

Work with #3d0f2f in the Color Lab