Skip to content

#9f103c

a dark, electric magenta / pink · warm · closest name: Brown

RGB
159, 16, 60
HSL
342°, 82%, 34%
CMYK
0, 90, 62, 38
Luminance
0.0807

At a glance

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

Hex
#9f103c
Hue
342°
magenta / pink
Saturation
82%
electric
Lightness
34%
dark
Brightness
62%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0807
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
8.04:1
Closest name
Brown
ΔE2000 9.9
Where it sits
Hue342° of 360°
Saturation82%
Lightness34%
Temperature
Warm ← → Cool27% 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#9f103c
RGBrgb(159, 16, 60)
HSLhsl(342, 82%, 34%)
CMYKcmyk(0%, 90%, 62%, 38%)
LABlab(34.1 55.9 14.7)
LCHlch(34.1 57.8 14.7)
OKLCHoklch(0.454 0.173 12.0)
Decimal10424380
Display P3color(display-p3 0.624 0.063 0.235)

Copy-ready code

/* CSS */
color: #9f103c;
background-color: #9f103c;
/* Tailwind (arbitrary) */
class="text-[#9f103c] bg-[#9f103c]"
/* SCSS */
$brand: #9f103c;
/* SwiftUI */
Color(red: 0.624, green: 0.063, blue: 0.235)
/* Android */
Color.parseColor("#9f103c")
/* Flutter */
Color(0xFF9F103C)
/* Python / OpenCV (BGR) */
(60, 16, 159)

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

Accessibility — WCAG contrast

Aa
#9f103c on white: 8.04:1
AA ✓ pass · AA-large · AAA
Aa
#9f103c on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3F3E3D
deuteranopia · #625A38
tritanopia · #AF0026

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9f103c is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF2F5
#F9E6EC
#F6C6D5
#F599B5
#F06690
#EA336C
#DE1654
#B91346
#9f103c
#6B0F2C
#43091B
Base = 800Lightest = 50 · #FCF2F5Darkest = 950 · #43091B
:root {
  --brand-50: #FCF2F5;
  --brand-100: #F9E6EC;
  --brand-200: #F6C6D5;
  --brand-300: #F599B5;
  --brand-400: #F06690;
  --brand-500: #EA336C;
  --brand-600: #DE1654;
  --brand-700: #B91346;
  --brand-800: #9f103c;
  --brand-900: #6B0F2C;
  --brand-950: #43091B;
  --brand: #9f103c;
  --brand-ink: #ffffff;
}

Colors that work with #9f103c

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#FAF4F6
Tinted page background
Border#EDC0CE
Hairlines and dividers
Muted text#9B4B63
Captions on the surface
Accent#0DA24F
Second voice, not a rival
Dark variant#740C2C
Hover, pressed, headers
Light variant#FDE8EE
Selected rows, tints
Dark surface#241419
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 #9f103c

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#109F73
Analogous left#9F1084
Analogous right#9F2B10
Split-complement 1#109F2B
Split-complement 2#10849F
Triadic 1#3C9F10
Triadic 2#103C9F
Tetradic#849F10

RGB percentages

Red62.4%
Green6.3%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta89.9%
Yellow62.3%
Key (black)37.6%

Color previews

#9f103c text on a black background

contrast 2.61:1

Card sample

#9f103c text on a white background

contrast 8.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9f103c;
Background color
Panel with #9f103c background
background-color: #9f103c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9f103c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(159, 16, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 16, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f103c;
background: linear-gradient(135deg, #9f103c, #9F4310);

Monochromatic scale

Palettes built from #9f103c

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.

#9f103c 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#9f103c, answered

What color is #9f103c?

#9f103c is a dark electric magenta / pink, closest to Brown (ΔE2000 9.9). It sits at 342° on the hue wheel with 82% saturation and 34% lightness, which reads as warm.

What is the RGB value of #9f103c?

rgb(159, 16, 60) — 159 red, 16 green and 60 blue out of 255, or 62.4% / 6.3% / 23.5% by channel.

Is #9f103c a light or a dark color?

It is a dark color. Relative luminance is 0.0807 and perceived brightness is 35%, so white text on it reaches 8.04:1.

Should I use black or white text on #9f103c?

White. It scores 8.04:1 against #9f103c, versus 2.61:1 for black — AAA at any size.

What is the complementary color of #9f103c?

#109F73 sits directly opposite on the wheel. Softer options are the split-complements #109F2B and #10849F, which give the same contrast with far less vibration.

What colors go well with #9f103c?

For interface work: #FAF4F6 as the surface, #EDC0CE for borders, #9B4B63 for secondary text, #0DA24F as an accent and #740C2C for hover and pressed states. For a palette, the analogous pair #9F1084 and #9F2B10 stays calm, while #109F73 is the loudest partner.

What is #9f103c in CMYK for printing?

cmyk(0%, 90%, 62%, 38%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #9f103c warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9F1810; nudged cooler, #A10E71.

Work with #9f103c in the Color Lab