Toolman

#9F1239 color

#9F1239#9F1239

The swatch above shows #9F1239 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#9F1239 is a dark, vivid red, closest to the CSS named color firebrick (#B22222).

It is also a Tailwind CSS default: rose-800. That means you can write bg-rose-800 or text-rose-800 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#9F1239
RGBrgb(159, 18, 57)
HSLhsl(343, 80%, 35%)
CMYKcmyk(0%, 89%, 64%, 38%)
Decimal10424889
CSScolor: #9F1239;
Android0xFF9F1239
SwiftUIColor(red: 0.624, green: 0.071, blue: 0.224, alpha: 1)

Accessibility and contrast

White text on #9F12398.02:1 — AA pass · AA large pass · AAA pass
Black text on #9F12392.62:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #9F1239

Each swatch keeps the hue and saturation of #9F1239 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #9F1239

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #9F1239 in code

/* CSS */
.element { color: #9F1239; background-color: #9F1239; }
.element { color: rgb(159 18 57); }
.element { color: hsl(343 80% 35%); }

/* Tailwind */
<div class="bg-rose-800 text-white">

/* SCSS variable */
$brand: #9F1239;

Frequently asked questions

What color is #9F1239?

#9F1239 is a dark, vivid red. Its hue sits at 343° on the color wheel, with 80% saturation and 35% lightness.

What is #9F1239 in RGB?

#9F1239 converts to rgb(159, 18, 57) — 159 red, 18 green and 57 blue.

What is #9F1239 in CMYK?

Approximately cmyk(0%, 89%, 64%, 38%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #9F1239 be white or black?

White gives the better contrast ratio (8.02:1 versus 2.62:1).

What is the complementary color of #9F1239?

#12A178 — the hue directly opposite #9F1239 on the color wheel.

Convert any color → · Browse all colors