Skip to content

#ba2d4f

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

RGB
186, 45, 79
HSL
346°, 61%, 45%
CMYK
0, 76, 58, 27
Luminance
0.1288

At a glance

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

Hex
#ba2d4f
Hue
346°
red
Saturation
61%
vivid
Lightness
45%
balanced
Brightness
73%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1288
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.87:1
Closest name
Crimson
ΔE2000 9
Where it sits
Hue346° of 360°
Saturation61%
Lightness45%
Temperature
Warm ← → Cool25% 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#ba2d4f
RGBrgb(186, 45, 79)
HSLhsl(346, 61%, 45%)
CMYKcmyk(0%, 76%, 58%, 27%)
LABlab(42.6 57.2 14.9)
LCHlch(42.6 59.1 14.6)
OKLCHoklch(0.528 0.177 12.1)
Decimal12201295
Display P3color(display-p3 0.729 0.176 0.310)

Copy-ready code

/* CSS */
color: #ba2d4f;
background-color: #ba2d4f;
/* Tailwind (arbitrary) */
class="text-[#ba2d4f] bg-[#ba2d4f]"
/* SCSS */
$brand: #ba2d4f;
/* SwiftUI */
Color(red: 0.729, green: 0.176, blue: 0.310)
/* Android */
Color.parseColor("#ba2d4f")
/* Flutter */
Color(0xFFBA2D4F)
/* Python / OpenCV (BGR) */
(79, 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 #ba2d4f · 5.87:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.87:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.58:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ba2d4f as text scores 5.87:1 on white and 3.58:1 on black.

Accessibility — WCAG contrast

Aa
#ba2d4f on white: 5.87:1
AA ✓ pass · AA-large · AAA
Aa
#ba2d4f on black: 3.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #53524F
deuteranopia · #776F4B
tritanopia · #CB003B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba2d4f 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
#F7E8EC
#F0CCD5
#E9A5B5
#DE7890
#D34A6B
#ba2d4f
#A42846
#832038
#601B2B
#3C111B
Base = 600Lightest = 50 · #FBF4F5Darkest = 950 · #3C111B
:root {
  --brand-50: #FBF4F5;
  --brand-100: #F7E8EC;
  --brand-200: #F0CCD5;
  --brand-300: #E9A5B5;
  --brand-400: #DE7890;
  --brand-500: #D34A6B;
  --brand-600: #ba2d4f;
  --brand-700: #A42846;
  --brand-800: #832038;
  --brand-900: #601B2B;
  --brand-950: #3C111B;
  --brand: #ba2d4f;
  --brand-ink: #ffffff;
}

Colors that work with #ba2d4f

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#EDC0CB
Hairlines and dividers
Muted text#9B4B5E
Captions on the surface
Accent#23A967
Second voice, not a rival
Dark variant#67192C
Hover, pressed, headers
Light variant#FAEAEE
Selected rows, tints
Dark surface#241418
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 #ba2d4f

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#2DBA98
Analogous left#BA2D96
Analogous right#BA512D
Split-complement 1#2DBA51
Split-complement 2#2D96BA
Triadic 1#4FBA2D
Triadic 2#2D4FBA
Tetradic#96BA2D

RGB percentages

Red72.9%
Green17.6%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta75.8%
Yellow57.5%
Key (black)27.1%

Color previews

#ba2d4f text on a black background

contrast 3.58:1

Card sample

#ba2d4f text on a white background

contrast 5.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2d4f

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.

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

#ba2d4f, answered

What color is #ba2d4f?

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

What is the RGB value of #ba2d4f?

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

Is #ba2d4f a light or a dark color?

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

Should I use black or white text on #ba2d4f?

White. It scores 5.87:1 against #ba2d4f, versus 3.58:1 for black — AA at any size.

What is the complementary color of #ba2d4f?

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

What colors go well with #ba2d4f?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5E for secondary text, #23A967 as an accent and #67192C for hover and pressed states. For a palette, the analogous pair #BA2D96 and #BA512D stays calm, while #2DBA98 is the loudest partner.

What is #ba2d4f in CMYK for printing?

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

Is #ba2d4f warm or cool?

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

Work with #ba2d4f in the Color Lab