Skip to content

#381f29

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

RGB
56, 31, 41
HSL
336°, 29%, 17%
CMYK
0, 45, 27, 78
Luminance
0.0198

At a glance

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

Hex
#381f29
Hue
336°
magenta / pink
Saturation
29%
soft
Lightness
17%
deep
Brightness
22%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0198
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
15.04:1
Closest name
Black
ΔE2000 17
Where it sits
Hue336° of 360°
Saturation29%
Lightness17%
Temperature
Warm ← → Cool34% 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#381f29
RGBrgb(56, 31, 41)
HSLhsl(336, 29%, 17%)
CMYKcmyk(0%, 45%, 27%, 78%)
LABlab(15.4 13.8 -1.5)
LCHlch(15.4 13.9 353.6)
OKLCHoklch(0.276 0.042 354.6)
Decimal3677993
Display P3color(display-p3 0.220 0.122 0.161)

Copy-ready code

/* CSS */
color: #381f29;
background-color: #381f29;
/* Tailwind (arbitrary) */
class="text-[#381f29] bg-[#381f29]"
/* SCSS */
$brand: #381f29;
/* SwiftUI */
Color(red: 0.220, green: 0.122, blue: 0.161)
/* Android */
Color.parseColor("#381f29")
/* Flutter */
Color(0xFF381F29)
/* Python / OpenCV (BGR) */
(41, 31, 56)

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

Accessibility — WCAG contrast

Aa
#381f29 on white: 15.04:1
AA ✓ pass · AA-large · AAA
Aa
#381f29 on black: 1.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #222429
deuteranopia · #282828
tritanopia · #3C1E23

Color scale — 50 to 950

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

#F9F6F7
#F3ECEF
#E6D5DC
#D7B7C4
#C393A6
#AF6F88
#9E5773
#834960
#693A4D
#4D2D3A
#381f29
Base = 950Lightest = 50 · #F9F6F7Darkest = 950 · #381f29
:root {
  --brand-50: #F9F6F7;
  --brand-100: #F3ECEF;
  --brand-200: #E6D5DC;
  --brand-300: #D7B7C4;
  --brand-400: #C393A6;
  --brand-500: #AF6F88;
  --brand-600: #9E5773;
  --brand-700: #834960;
  --brand-800: #693A4D;
  --brand-900: #4D2D3A;
  --brand-950: #381f29;
  --brand: #381f29;
  --brand-ink: #ffffff;
}

Colors that work with #381f29

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#FAF5F7
Tinted page background
Border#E2CAD4
Hairlines and dividers
Muted text#94526C
Captions on the surface
Accent#1D3A27
Second voice, not a rival
Dark variant#522D3C
Hover, pressed, headers
Light variant#F6EFF2
Selected rows, tints
Dark surface#24141A
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 #381f29

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#1F382E
Analogous left#381F36
Analogous right#38221F
Split-complement 1#1F3822
Split-complement 2#1F3638
Triadic 1#29381F
Triadic 2#1F2938
Tetradic#36381F

RGB percentages

Red22.0%
Green12.2%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta44.6%
Yellow26.8%
Key (black)78.0%

Color previews

#381f29 text on a black background

contrast 1.40:1

Card sample

#381f29 text on a white background

contrast 15.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #381f29;
Background color
Panel with #381f29 background
background-color: #381f29;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(56, 31, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(56, 31, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #381f29;
background: linear-gradient(135deg, #381f29, #38261F);

Monochromatic scale

Palettes built from #381f29

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.

#381f29 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.

#381f29, answered

What color is #381f29?

#381f29 is a deep soft magenta / pink, closest to Black (ΔE2000 17). It sits at 336° on the hue wheel with 29% saturation and 17% lightness, which reads as warm.

What is the RGB value of #381f29?

rgb(56, 31, 41) — 56 red, 31 green and 41 blue out of 255, or 22% / 12.2% / 16.1% by channel.

Is #381f29 a light or a dark color?

It is a dark color. Relative luminance is 0.0198 and perceived brightness is 16%, so white text on it reaches 15.04:1.

Should I use black or white text on #381f29?

White. It scores 15.04:1 against #381f29, versus 1.40:1 for black — AAA at any size.

What is the complementary color of #381f29?

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

What colors go well with #381f29?

For interface work: #FAF5F7 as the surface, #E2CAD4 for borders, #94526C for secondary text, #1D3A27 as an accent and #522D3C for hover and pressed states. For a palette, the analogous pair #381F36 and #38221F stays calm, while #1F382E is the loudest partner.

What is #381f29 in CMYK for printing?

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

Is #381f29 warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #381F20; nudged cooler, #391E33.

Work with #381f29 in the Color Lab