Skip to content

#3f0f2d

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

RGB
63, 15, 45
HSL
323°, 62%, 15%
CMYK
0, 76, 29, 75
Luminance
0.0159

At a glance

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

Hex
#3f0f2d
Hue
323°
magenta / pink
Saturation
62%
vivid
Lightness
15%
deep
Brightness
25%
HSV value
Perceived
15%
weighted brightness
Luminance
0.0159
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
15.94:1
Closest name
Purple
ΔE2000 18.5
Where it sits
Hue323° of 360°
Saturation62%
Lightness15%
Temperature
Warm ← → Cool38% 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#3f0f2d
RGBrgb(63, 15, 45)
HSLhsl(323, 62%, 15%)
CMYKcmyk(0%, 76%, 29%, 75%)
LABlab(13.2 26.8 -7.7)
LCHlch(13.2 27.9 344.0)
OKLCHoklch(0.262 0.083 345.9)
Decimal4132653
Display P3color(display-p3 0.247 0.059 0.176)

Copy-ready code

/* CSS */
color: #3f0f2d;
background-color: #3f0f2d;
/* Tailwind (arbitrary) */
class="text-[#3f0f2d] bg-[#3f0f2d]"
/* SCSS */
$brand: #3f0f2d;
/* SwiftUI */
Color(red: 0.247, green: 0.059, blue: 0.176)
/* Android */
Color.parseColor("#3f0f2d")
/* Flutter */
Color(0xFF3F0F2D)
/* Python / OpenCV (BGR) */
(45, 15, 63)

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 #3f0f2d · 15.94:1
Use #ffffffAAA at every size.
Aa
White text · 15.94: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: #3f0f2d as text scores 15.94:1 on white and 1.32:1 on black.

Accessibility — WCAG contrast

Aa
#3f0f2d on white: 15.94:1
AA ✓ pass · AA-large · AAA
Aa
#3f0f2d on black: 1.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #141D2E
deuteranopia · #22252C
tritanopia · #440E1C

Color scale — 50 to 950

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

#FBF4F8
#F7E8F2
#F0CCE2
#E9A4D0
#DF77B8
#D44AA0
#C62F8D
#A52776
#841F5E
#601B46
#3f0f2d
Base = 950Lightest = 50 · #FBF4F8Darkest = 950 · #3f0f2d
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E8F2;
  --brand-200: #F0CCE2;
  --brand-300: #E9A4D0;
  --brand-400: #DF77B8;
  --brand-500: #D44AA0;
  --brand-600: #C62F8D;
  --brand-700: #A52776;
  --brand-800: #841F5E;
  --brand-900: #601B46;
  --brand-950: #3f0f2d;
  --brand: #3f0f2d;
  --brand-ink: #ffffff;
}

Colors that work with #3f0f2d

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#FAF4F8
Tinted page background
Border#EDC0DC
Hairlines and dividers
Muted text#9B4B7D
Captions on the surface
Accent#0D4114
Second voice, not a rival
Dark variant#67194A
Hover, pressed, headers
Light variant#FAEAF4
Selected rows, tints
Dark surface#24141E
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 #3f0f2d

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#0F3F21
Analogous left#390F3F
Analogous right#3F0F15
Split-complement 1#153F0F
Split-complement 2#0F3F39
Triadic 1#2D3F0F
Triadic 2#0F2D3F
Tetradic#3F390F

RGB percentages

Red24.7%
Green5.9%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta76.2%
Yellow28.6%
Key (black)75.3%

Color previews

#3f0f2d text on a black background

contrast 1.32:1

Card sample

#3f0f2d text on a white background

contrast 15.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f0f2d

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.

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

#3f0f2d, answered

What color is #3f0f2d?

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

What is the RGB value of #3f0f2d?

rgb(63, 15, 45) — 63 red, 15 green and 45 blue out of 255, or 24.7% / 5.9% / 17.6% by channel.

Is #3f0f2d a light or a dark color?

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

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

White. It scores 15.94:1 against #3f0f2d, versus 1.32:1 for black — AAA at any size.

What is the complementary color of #3f0f2d?

#0F3F21 sits directly opposite on the wheel. Softer options are the split-complements #153F0F and #0F3F39, which give the same contrast with far less vibration.

What colors go well with #3f0f2d?

For interface work: #FAF4F8 as the surface, #EDC0DC for borders, #9B4B7D for secondary text, #0D4114 as an accent and #67194A for hover and pressed states. For a palette, the analogous pair #390F3F and #3F0F15 stays calm, while #0F3F21 is the loudest partner.

What is #3f0f2d in CMYK for printing?

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

Is #3f0f2d warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3F0F1B; nudged cooler, #400E3F.

Work with #3f0f2d in the Color Lab