Skip to content

#ba084f

a dark, electric magenta / pink · warm · closest name: Crimson

RGB
186, 8, 79
HSL
336°, 92%, 38%
CMYK
0, 96, 58, 27
Luminance
0.1118

At a glance

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

Hex
#ba084f
Hue
336°
magenta / pink
Saturation
92%
electric
Lightness
38%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1118
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.49:1
Closest name
Crimson
ΔE2000 11.8
Where it sits
Hue336° of 360°
Saturation92%
Lightness38%
Temperature
Warm ← → Cool30% 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#ba084f
RGBrgb(186, 8, 79)
HSLhsl(336, 92%, 38%)
CMYKcmyk(0%, 96%, 58%, 27%)
LABlab(39.9 65.0 11.2)
LCHlch(39.9 65.9 9.8)
OKLCHoklch(0.508 0.200 8.1)
Decimal12191823
Display P3color(display-p3 0.729 0.031 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba084f on white: 6.49:1
AA ✓ pass · AA-large · AAA
Aa
#ba084f on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #464950
deuteranopia · #716A4B
tritanopia · #CC002E

Color scale — 50 to 950

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

#FDF2F6
#FBE4ED
#F9C3D8
#FA93BC
#F85E9B
#F6287A
#EB0A64
#ba084f
#9D0742
#710A33
#470620
Base = 700Lightest = 50 · #FDF2F6Darkest = 950 · #470620
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FBE4ED;
  --brand-200: #F9C3D8;
  --brand-300: #FA93BC;
  --brand-400: #F85E9B;
  --brand-500: #F6287A;
  --brand-600: #EB0A64;
  --brand-700: #ba084f;
  --brand-800: #9D0742;
  --brand-900: #710A33;
  --brand-950: #470620;
  --brand: #ba084f;
  --brand-ink: #ffffff;
}

Colors that work with #ba084f

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#FAF4F7
Tinted page background
Border#EDC0D2
Hairlines and dividers
Muted text#9B4B6B
Captions on the surface
Accent#04C849
Second voice, not a rival
Dark variant#7A0534
Hover, pressed, headers
Light variant#FEE7F0
Selected rows, tints
Dark surface#24141A
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 #ba084f

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#08BA73
Analogous left#BA08A8
Analogous right#BA1A08
Split-complement 1#08BA1A
Split-complement 2#08A8BA
Triadic 1#4FBA08
Triadic 2#084FBA
Tetradic#A8BA08

RGB percentages

Red72.9%
Green3.1%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta95.7%
Yellow57.5%
Key (black)27.1%

Color previews

#ba084f text on a black background

contrast 3.24:1

Card sample

#ba084f text on a white background

contrast 6.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba084f

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.

#ba084f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ba084f, answered

What color is #ba084f?

#ba084f is a dark electric magenta / pink, closest to Crimson (ΔE2000 11.8). It sits at 336° on the hue wheel with 92% saturation and 38% lightness, which reads as warm.

What is the RGB value of #ba084f?

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

Is #ba084f a light or a dark color?

It is a dark color. Relative luminance is 0.1118 and perceived brightness is 41%, so white text on it reaches 6.49:1.

Should I use black or white text on #ba084f?

White. It scores 6.49:1 against #ba084f, versus 3.24:1 for black — AA at any size.

What is the complementary color of #ba084f?

#08BA73 sits directly opposite on the wheel. Softer options are the split-complements #08BA1A and #08A8BA, which give the same contrast with far less vibration.

What colors go well with #ba084f?

For interface work: #FAF4F7 as the surface, #EDC0D2 for borders, #9B4B6B for secondary text, #04C849 as an accent and #7A0534 for hover and pressed states. For a palette, the analogous pair #BA08A8 and #BA1A08 stays calm, while #08BA73 is the loudest partner.

What is #ba084f in CMYK for printing?

cmyk(0%, 96%, 58%, 27%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ba084f warm or cool?

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

Work with #ba084f in the Color Lab