Skip to content

#ba2d40

a balanced, vivid red · warm · closest name: Crimson

RGB
186, 45, 64
HSL
352°, 61%, 45%
CMYK
0, 76, 66, 27
Luminance
0.1269

At a glance

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

Hex
#ba2d40
Hue
352°
red
Saturation
61%
vivid
Lightness
45%
balanced
Brightness
73%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1269
WCAG relative
Temperature
Warm
21/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.94:1
Closest name
Crimson
ΔE2000 6.3
Where it sits
Hue352° of 360°
Saturation61%
Lightness45%
Temperature
Warm ← → Cool21% 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#ba2d40
RGBrgb(186, 45, 64)
HSLhsl(352, 61%, 45%)
CMYKcmyk(0%, 76%, 66%, 27%)
LABlab(42.3 56.3 23.8)
LCHlch(42.3 61.1 22.9)
OKLCHoklch(0.524 0.176 18.7)
Decimal12201280
Display P3color(display-p3 0.729 0.176 0.251)

Copy-ready code

/* CSS */
color: #ba2d40;
background-color: #ba2d40;
/* Tailwind (arbitrary) */
class="text-[#ba2d40] bg-[#ba2d40]"
/* SCSS */
$brand: #ba2d40;
/* SwiftUI */
Color(red: 0.729, green: 0.176, blue: 0.251)
/* Android */
Color.parseColor("#ba2d40")
/* Flutter */
Color(0xFFBA2D40)
/* Python / OpenCV (BGR) */
(64, 45, 186)

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

Accessibility — WCAG contrast

Aa
#ba2d40 on white: 5.94:1
AA ✓ pass · AA-large · AAA
Aa
#ba2d40 on black: 3.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #555140
deuteranopia · #796F3C
tritanopia · #CC0035

Color scale — 50 to 950

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

#FBF4F5
#F7E8EA
#F0CCD1
#E9A5AE
#DE7885
#D34A5D
#ba2d40
#A42839
#83202D
#601B24
#3C1117
Base = 600Lightest = 50 · #FBF4F5Darkest = 950 · #3C1117
:root {
  --brand-50: #FBF4F5;
  --brand-100: #F7E8EA;
  --brand-200: #F0CCD1;
  --brand-300: #E9A5AE;
  --brand-400: #DE7885;
  --brand-500: #D34A5D;
  --brand-600: #ba2d40;
  --brand-700: #A42839;
  --brand-800: #83202D;
  --brand-900: #601B24;
  --brand-950: #3C1117;
  --brand: #ba2d40;
  --brand-ink: #ffffff;
}

Colors that work with #ba2d40

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#EDC0C6
Hairlines and dividers
Muted text#9B4B55
Captions on the surface
Accent#23A976
Second voice, not a rival
Dark variant#671923
Hover, pressed, headers
Light variant#FAEAED
Selected rows, tints
Dark surface#241416
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 #ba2d40

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#2DBAA7
Analogous left#BA2D87
Analogous right#BA602D
Split-complement 1#2DBA60
Split-complement 2#2D87BA
Triadic 1#40BA2D
Triadic 2#2D40BA
Tetradic#87BA2D

RGB percentages

Red72.9%
Green17.6%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta75.8%
Yellow65.6%
Key (black)27.1%

Color previews

#ba2d40 text on a black background

contrast 3.54:1

Card sample

#ba2d40 text on a white background

contrast 5.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 45, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 45, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba2d40;
background: linear-gradient(135deg, #ba2d40, #BA782D);

Monochromatic scale

Palettes built from #ba2d40

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.

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

#ba2d40, answered

What color is #ba2d40?

#ba2d40 is a balanced vivid red, closest to Crimson (ΔE2000 6.3). It sits at 352° on the hue wheel with 61% saturation and 45% lightness, which reads as warm.

What is the RGB value of #ba2d40?

rgb(186, 45, 64) — 186 red, 45 green and 64 blue out of 255, or 72.9% / 17.6% / 25.1% by channel.

Is #ba2d40 a light or a dark color?

It is a dark color. Relative luminance is 0.1269 and perceived brightness is 43%, so white text on it reaches 5.94:1.

Should I use black or white text on #ba2d40?

White. It scores 5.94:1 against #ba2d40, versus 3.54:1 for black — AA at any size.

What is the complementary color of #ba2d40?

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

What colors go well with #ba2d40?

For interface work: #FAF4F5 as the surface, #EDC0C6 for borders, #9B4B55 for secondary text, #23A976 as an accent and #671923 for hover and pressed states. For a palette, the analogous pair #BA2D87 and #BA602D stays calm, while #2DBAA7 is the loudest partner.

What is #ba2d40 in CMYK for printing?

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

Is #ba2d40 warm or cool?

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

Work with #ba2d40 in the Color Lab