Skip to content

#ba313c

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

RGB
186, 49, 60
HSL
355°, 58%, 46%
CMYK
0, 74, 68, 27
Luminance
0.1296

At a glance

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

Hex
#ba313c
Hue
355°
red
Saturation
58%
vivid
Lightness
46%
balanced
Brightness
73%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1296
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.85:1
Closest name
Brown
ΔE2000 5.7
Where it sits
Hue355° of 360°
Saturation58%
Lightness46%
Temperature
Warm ← → Cool19% 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#ba313c
RGBrgb(186, 49, 60)
HSLhsl(355, 58%, 46%)
CMYKcmyk(0%, 74%, 68%, 27%)
LABlab(42.7 54.7 26.8)
LCHlch(42.7 60.9 26.1)
OKLCHoklch(0.527 0.173 21.3)
Decimal12202300
Display P3color(display-p3 0.729 0.192 0.235)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba313c on white: 5.85:1
AA ✓ pass · AA-large · AAA
Aa
#ba313c on black: 3.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #58523B
deuteranopia · #7B6F38
tritanopia · #CC0036

Color scale — 50 to 950

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

#FBF4F4
#F7E9EA
#EFCDD0
#E8A6AB
#DC7A82
#D04D58
#ba313c
#A12B34
#81222A
#5E1C22
#3B1215
Base = 600Lightest = 50 · #FBF4F4Darkest = 950 · #3B1215
:root {
  --brand-50: #FBF4F4;
  --brand-100: #F7E9EA;
  --brand-200: #EFCDD0;
  --brand-300: #E8A6AB;
  --brand-400: #DC7A82;
  --brand-500: #D04D58;
  --brand-600: #ba313c;
  --brand-700: #A12B34;
  --brand-800: #81222A;
  --brand-900: #5E1C22;
  --brand-950: #3B1215;
  --brand: #ba313c;
  --brand-ink: #ffffff;
}

Colors that work with #ba313c

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#EDC0C3
Hairlines and dividers
Muted text#9B4B51
Captions on the surface
Accent#26A67B
Second voice, not a rival
Dark variant#651B21
Hover, pressed, headers
Light variant#FAEBEC
Selected rows, tints
Dark surface#241415
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 #ba313c

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#31BAAF
Analogous left#BA3181
Analogous right#BA6B31
Split-complement 1#31BA6B
Split-complement 2#3181BA
Triadic 1#3CBA31
Triadic 2#313CBA
Tetradic#81BA31

RGB percentages

Red72.9%
Green19.2%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta73.7%
Yellow67.7%
Key (black)27.1%

Color previews

#ba313c text on a black background

contrast 3.59:1

Card sample

#ba313c text on a white background

contrast 5.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba313c

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.

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

#ba313c, answered

What color is #ba313c?

#ba313c is a balanced vivid red, closest to Brown (ΔE2000 5.7). It sits at 355° on the hue wheel with 58% saturation and 46% lightness, which reads as warm.

What is the RGB value of #ba313c?

rgb(186, 49, 60) — 186 red, 49 green and 60 blue out of 255, or 72.9% / 19.2% / 23.5% by channel.

Is #ba313c a light or a dark color?

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

Should I use black or white text on #ba313c?

White. It scores 5.85:1 against #ba313c, versus 3.59:1 for black — AA at any size.

What is the complementary color of #ba313c?

#31BAAF sits directly opposite on the wheel. Softer options are the split-complements #31BA6B and #3181BA, which give the same contrast with far less vibration.

What colors go well with #ba313c?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B51 for secondary text, #26A67B as an accent and #651B21 for hover and pressed states. For a palette, the analogous pair #BA3181 and #BA6B31 stays calm, while #31BAAF is the loudest partner.

What is #ba313c in CMYK for printing?

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

Is #ba313c warm or cool?

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

Work with #ba313c in the Color Lab