Skip to content

#140c13

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

RGB
20, 12, 19
HSL
308°, 25%, 6%
CMYK
0, 40, 5, 92
Luminance
0.0046

At a glance

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

Hex
#140c13
Hue
308°
magenta / pink
Saturation
25%
soft
Lightness
6%
deep
Brightness
8%
HSV value
Perceived
6%
weighted brightness
Luminance
0.0046
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
19.24:1
Closest name
Black
ΔE2000 6.3
Where it sits
Hue308° of 360°
Saturation25%
Lightness6%
Temperature
Warm ← → Cool47% 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#140c13
RGBrgb(20, 12, 19)
HSLhsl(308, 25%, 6%)
CMYKcmyk(0%, 40%, 5%, 92%)
LABlab(4.1 4.2 -2.5)
LCHlch(4.1 4.9 328.7)
OKLCHoklch(0.169 0.019 330.7)
Decimal1313811
Display P3color(display-p3 0.078 0.047 0.075)

Copy-ready code

/* CSS */
color: #140c13;
background-color: #140c13;
/* Tailwind (arbitrary) */
class="text-[#140c13] bg-[#140c13]"
/* SCSS */
$brand: #140c13;
/* SwiftUI */
Color(red: 0.078, green: 0.047, blue: 0.075)
/* Android */
Color.parseColor("#140c13")
/* Flutter */
Color(0xFF140C13)
/* Python / OpenCV (BGR) */
(19, 12, 20)

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

Accessibility — WCAG contrast

Aa
#140c13 on white: 19.24:1
AA ✓ pass · AA-large · AAA
Aa
#140c13 on black: 1.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0C0E13
deuteranopia · #0E0F13
tritanopia · #150C0E

Color scale — 50 to 950

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

#F9F6F8
#F3EDF2
#E5D7E3
#D5B9D1
#C096BB
#AB73A4
#995C91
#804D79
#663D61
#4B2F48
#140c13
Base = 950Lightest = 50 · #F9F6F8Darkest = 950 · #140c13
:root {
  --brand-50: #F9F6F8;
  --brand-100: #F3EDF2;
  --brand-200: #E5D7E3;
  --brand-300: #D5B9D1;
  --brand-400: #C096BB;
  --brand-500: #AB73A4;
  --brand-600: #995C91;
  --brand-700: #804D79;
  --brand-800: #663D61;
  --brand-900: #4B2F48;
  --brand-950: #140c13;
  --brand: #140c13;
  --brand-ink: #ffffff;
}

Colors that work with #140c13

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#E0CCDE
Hairlines and dividers
Muted text#8F5688
Captions on the surface
Accent#0D150B
Second voice, not a rival
Dark variant#50304C
Hover, pressed, headers
Light variant#F5EFF5
Selected rows, tints
Dark surface#231521
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 #140c13

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#0C140D
Analogous left#110C14
Analogous right#140C0F
Split-complement 1#0F140C
Split-complement 2#0C1411
Triadic 1#13140C
Triadic 2#0C1314
Tetradic#14110C

RGB percentages

Red7.8%
Green4.7%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta40.0%
Yellow5.0%
Key (black)92.2%

Color previews

#140c13 text on a black background

contrast 1.09:1

Card sample

#140c13 text on a white background

contrast 19.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #140c13;
Background color
Panel with #140c13 background
background-color: #140c13;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(20, 12, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 12, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #140c13;
background: linear-gradient(135deg, #140c13, #140C0E);

Monochromatic scale

Palettes built from #140c13

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.

#140c13 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.

#140c13, answered

What color is #140c13?

#140c13 is a deep soft magenta / pink, closest to Black (ΔE2000 6.3). It sits at 308° on the hue wheel with 25% saturation and 6% lightness, which reads as neutral.

What is the RGB value of #140c13?

rgb(20, 12, 19) — 20 red, 12 green and 19 blue out of 255, or 7.8% / 4.7% / 7.5% by channel.

Is #140c13 a light or a dark color?

It is a dark color. Relative luminance is 0.0046 and perceived brightness is 6%, so white text on it reaches 19.24:1.

Should I use black or white text on #140c13?

White. It scores 19.24:1 against #140c13, versus 1.09:1 for black — AAA at any size.

What is the complementary color of #140c13?

#0C140D sits directly opposite on the wheel. Softer options are the split-complements #0F140C and #0C1411, which give the same contrast with far less vibration.

What colors go well with #140c13?

For interface work: #F9F5F9 as the surface, #E0CCDE for borders, #8F5688 for secondary text, #0D150B as an accent and #50304C for hover and pressed states. For a palette, the analogous pair #110C14 and #140C0F stays calm, while #0C140D is the loudest partner.

What is #140c13 in CMYK for printing?

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

Is #140c13 warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #140C10; nudged cooler, #120C14.

Work with #140c13 in the Color Lab