#ad1f39
a dark, vivid red · warm · closest name: Brown
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.
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 |
| RGB | rgb(173, 31, 57) |
| HSL | hsl(349, 70%, 40%) |
| CMYK | cmyk(0%, 82%, 67%, 32%) |
| LAB | lab(38.1 56.3 22.4) |
| LCH | lch(38.1 60.5 21.7) |
| OKLCH | oklch(0.489 0.175 17.6) |
| Decimal | 11345721 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ad1f39
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #AD1F80 | Neighbour, quieter | |
| Analogous right | #AD4C1F | Neighbour, quieter | |
| Split-complement 1 | #1FAD4C | Contrast without the clash | |
| Split-complement 2 | #1F80AD | Contrast without the clash | |
| Triadic 1 | #39AD1F | Even thirds — balanced and loud | |
| Triadic 2 | #1F39AD | Even thirds — balanced and loud | |
| Tetradic | #80AD1F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ad1f39 text on a black background
contrast 3.03:1
#ad1f39 text on a white background
contrast 6.93:1
CSS3 live lab
The quick brown fox
color: #ad1f39;
background-color: #ad1f39;
Glowing headline
text-shadow: 2px 2px 8px #ad1f39;
Soft neon halo
text-shadow: 0 0 14px rgba(173, 31, 57, 0.45);
box-shadow: 0 12px 32px -8px rgba(173, 31, 57, 0.45);
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.
Closest color with a full write-up: Cardinal (#c41e3a) — ΔE2000 4.9 away, with its history, psychology and brand usage.
#ad1f39 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.