Skip to content

#ad1f39

a dark, vivid red · warm · closest name: Brown

RGB
173, 31, 57
HSL
349°, 70%, 40%
CMYK
0, 82, 67, 32
Luminance
0.1016

At a glance

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

Hex
#ad1f39
Hue
349°
red
Saturation
70%
vivid
Lightness
40%
dark
Brightness
68%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1016
WCAG relative
Temperature
Warm
23/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.93:1
Closest name
Brown
ΔE2000 5.9
Where it sits
Hue349° of 360°
Saturation70%
Lightness40%
Temperature
Warm ← → Cool23% 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#ad1f39
RGBrgb(173, 31, 57)
HSLhsl(349, 70%, 40%)
CMYKcmyk(0%, 82%, 67%, 32%)
LABlab(38.1 56.3 22.4)
LCHlch(38.1 60.5 21.7)
OKLCHoklch(0.489 0.175 17.6)
Decimal11345721
Display P3color(display-p3 0.678 0.122 0.224)

Copy-ready code

/* CSS */
color: #ad1f39;
background-color: #ad1f39;
/* Tailwind (arbitrary) */
class="text-[#ad1f39] bg-[#ad1f39]"
/* SCSS */
$brand: #ad1f39;
/* SwiftUI */
Color(red: 0.678, green: 0.122, blue: 0.224)
/* Android */
Color.parseColor("#ad1f39")
/* Flutter */
Color(0xFFAD1F39)
/* Python / OpenCV (BGR) */
(57, 31, 173)

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 #ad1f39 · 6.93:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.93:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.03:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ad1f39 as text scores 6.93:1 on white and 3.03:1 on black.

Accessibility — WCAG contrast

Aa
#ad1f39 on white: 6.93:1
AA ✓ pass · AA-large · AAA
Aa
#ad1f39 on black: 3.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4B4739
deuteranopia · #6E6435
tritanopia · #BE002B

Color scale — 50 to 950

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

#FCF3F5
#F8E7EA
#F2CAD1
#EEA0AE
#E57086
#DD415D
#D02544
#ad1f39
#8A192E
#641624
#3F0E17
Base = 700Lightest = 50 · #FCF3F5Darkest = 950 · #3F0E17
:root {
  --brand-50: #FCF3F5;
  --brand-100: #F8E7EA;
  --brand-200: #F2CAD1;
  --brand-300: #EEA0AE;
  --brand-400: #E57086;
  --brand-500: #DD415D;
  --brand-600: #D02544;
  --brand-700: #ad1f39;
  --brand-800: #8A192E;
  --brand-900: #641624;
  --brand-950: #3F0E17;
  --brand: #ad1f39;
  --brand-ink: #ffffff;
}

Colors that work with #ad1f39

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#FAF4F5
Tinted page background
Border#EDC0C8
Hairlines and dividers
Muted text#9B4B59
Captions on the surface
Accent#1BB170
Second voice, not a rival
Dark variant#6C1324
Hover, pressed, headers
Light variant#FBE9ED
Selected rows, tints
Dark surface#241417
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 #ad1f39

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
  • 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#1FAD93
Analogous left#AD1F80
Analogous right#AD4C1F
Split-complement 1#1FAD4C
Split-complement 2#1F80AD
Triadic 1#39AD1F
Triadic 2#1F39AD
Tetradic#80AD1F

RGB percentages

Red67.8%
Green12.2%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow67.1%
Key (black)32.2%

Color previews

#ad1f39 text on a black background

contrast 3.03:1

Card sample

#ad1f39 text on a white background

contrast 6.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 31, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 31, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad1f39;
background: linear-gradient(135deg, #ad1f39, #AD641F);

Monochromatic scale

Palettes built from #ad1f39

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.

#ad1f39 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#ad1f39, answered

What color is #ad1f39?

#ad1f39 is a dark vivid red, closest to Brown (ΔE2000 5.9). It sits at 349° on the hue wheel with 70% saturation and 40% lightness, which reads as warm.

What is the RGB value of #ad1f39?

rgb(173, 31, 57) — 173 red, 31 green and 57 blue out of 255, or 67.8% / 12.2% / 22.4% by channel.

Is #ad1f39 a light or a dark color?

It is a dark color. Relative luminance is 0.1016 and perceived brightness is 39%, so white text on it reaches 6.93:1.

Should I use black or white text on #ad1f39?

White. It scores 6.93:1 against #ad1f39, versus 3.03:1 for black — AA at any size.

What is the complementary color of #ad1f39?

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

What colors go well with #ad1f39?

For interface work: #FAF4F5 as the surface, #EDC0C8 for borders, #9B4B59 for secondary text, #1BB170 as an accent and #6C1324 for hover and pressed states. For a palette, the analogous pair #AD1F80 and #AD4C1F stays calm, while #1FAD93 is the loudest partner.

What is #ad1f39 in CMYK for printing?

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

Is #ad1f39 warm or cool?

Warm — it scores 23 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AD391F; nudged cooler, #AF1D6D.

Work with #ad1f39 in the Color Lab