Skip to content

#ab2c49

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

RGB
171, 44, 73
HSL
346°, 59%, 42%
CMYK
0, 74, 57, 33
Luminance
0.1094

At a glance

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

Hex
#ab2c49
Hue
346°
red
Saturation
59%
vivid
Lightness
42%
dark
Brightness
67%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1094
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.59:1
Closest name
Brown
ΔE2000 9.5
Where it sits
Hue346° of 360°
Saturation59%
Lightness42%
Temperature
Warm ← → Cool24% 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#ab2c49
RGBrgb(171, 44, 73)
HSLhsl(346, 59%, 42%)
CMYKcmyk(0%, 74%, 57%, 33%)
LABlab(39.5 52.7 14.0)
LCHlch(39.5 54.5 14.9)
OKLCHoklch(0.499 0.163 12.4)
Decimal11217993
Display P3color(display-p3 0.671 0.173 0.286)

Copy-ready code

/* CSS */
color: #ab2c49;
background-color: #ab2c49;
/* Tailwind (arbitrary) */
class="text-[#ab2c49] bg-[#ab2c49]"
/* SCSS */
$brand: #ab2c49;
/* SwiftUI */
Color(red: 0.671, green: 0.173, blue: 0.286)
/* Android */
Color.parseColor("#ab2c49")
/* Flutter */
Color(0xFFAB2C49)
/* Python / OpenCV (BGR) */
(73, 44, 171)

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

Accessibility — WCAG contrast

Aa
#ab2c49 on white: 6.59:1
AA ✓ pass · AA-large · AAA
Aa
#ab2c49 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D4C49
deuteranopia · #6E6646
tritanopia · #BB0438

Color scale — 50 to 950

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

#FBF4F5
#F7E9EC
#EFCDD4
#E8A6B5
#DD7990
#D14C6B
#C33253
#ab2c49
#822137
#5E1C2B
#3B111B
Base = 700Lightest = 50 · #FBF4F5Darkest = 950 · #3B111B
:root {
  --brand-50: #FBF4F5;
  --brand-100: #F7E9EC;
  --brand-200: #EFCDD4;
  --brand-300: #E8A6B5;
  --brand-400: #DD7990;
  --brand-500: #D14C6B;
  --brand-600: #C33253;
  --brand-700: #ab2c49;
  --brand-800: #822137;
  --brand-900: #5E1C2B;
  --brand-950: #3B111B;
  --brand: #ab2c49;
  --brand-ink: #ffffff;
}

Colors that work with #ab2c49

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#EDC0CA
Hairlines and dividers
Muted text#9B4B5D
Captions on the surface
Accent#26A669
Second voice, not a rival
Dark variant#651A2B
Hover, pressed, headers
Light variant#FAEBEE
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 #ab2c49

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#2CAB8E
Analogous left#AB2C89
Analogous right#AB4F2C
Split-complement 1#2CAB4F
Split-complement 2#2C89AB
Triadic 1#49AB2C
Triadic 2#2C49AB
Tetradic#89AB2C

RGB percentages

Red67.1%
Green17.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta74.3%
Yellow57.3%
Key (black)32.9%

Color previews

#ab2c49 text on a black background

contrast 3.19:1

Card sample

#ab2c49 text on a white background

contrast 6.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 44, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 44, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab2c49;
background: linear-gradient(135deg, #ab2c49, #AB642C);

Monochromatic scale

Palettes built from #ab2c49

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.

#ab2c49 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.

#ab2c49, answered

What color is #ab2c49?

#ab2c49 is a dark vivid red, closest to Brown (ΔE2000 9.5). It sits at 346° on the hue wheel with 59% saturation and 42% lightness, which reads as warm.

What is the RGB value of #ab2c49?

rgb(171, 44, 73) — 171 red, 44 green and 73 blue out of 255, or 67.1% / 17.3% / 28.6% by channel.

Is #ab2c49 a light or a dark color?

It is a dark color. Relative luminance is 0.1094 and perceived brightness is 40%, so white text on it reaches 6.59:1.

Should I use black or white text on #ab2c49?

White. It scores 6.59:1 against #ab2c49, versus 3.19:1 for black — AA at any size.

What is the complementary color of #ab2c49?

#2CAB8E sits directly opposite on the wheel. Softer options are the split-complements #2CAB4F and #2C89AB, which give the same contrast with far less vibration.

What colors go well with #ab2c49?

For interface work: #FAF4F6 as the surface, #EDC0CA for borders, #9B4B5D for secondary text, #26A669 as an accent and #651A2B for hover and pressed states. For a palette, the analogous pair #AB2C89 and #AB4F2C stays calm, while #2CAB8E is the loudest partner.

What is #ab2c49 in CMYK for printing?

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

Is #ab2c49 warm or cool?

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

Work with #ab2c49 in the Color Lab