Skip to content

#b02fba

a balanced, vivid magenta / pink · neutral · closest name: Dark Orchid

RGB
176, 47, 186
HSL
296°, 60%, 46%
CMYK
5, 75, 0, 27
Luminance
0.1481

At a glance

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

Hex
#b02fba
Hue
296°
magenta / pink
Saturation
60%
vivid
Lightness
46%
balanced
Brightness
73%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1481
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.30:1
Closest name
Dark Orchid
ΔE2000 5.8
Where it sits
Hue296° of 360°
Saturation60%
Lightness46%
Temperature
Warm ← → Cool52% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#b02fba
RGBrgb(176, 47, 186)
HSLhsl(296, 60%, 46%)
CMYKcmyk(5%, 75%, 0%, 27%)
LABlab(45.4 67.3 -46.2)
LCHlch(45.4 81.6 325.5)
OKLCHoklch(0.558 0.224 324.8)
Decimal11546554
Display P3color(display-p3 0.690 0.184 0.729)

Copy-ready code

/* CSS */
color: #b02fba;
background-color: #b02fba;
/* Tailwind (arbitrary) */
class="text-[#b02fba] bg-[#b02fba]"
/* SCSS */
$brand: #b02fba;
/* SwiftUI */
Color(red: 0.690, green: 0.184, blue: 0.729)
/* Android */
Color.parseColor("#b02fba")
/* Flutter */
Color(0xFFB02FBA)
/* Python / OpenCV (BGR) */
(186, 47, 176)

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

Accessibility — WCAG contrast

Aa
#b02fba on white: 5.30:1
AA ✓ pass · AA-large · AAA
Aa
#b02fba on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0061BE
deuteranopia · #4C71B7
tritanopia · #B44873

Color scale — 50 to 950

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

#FAF4FB
#F6E9F7
#EDCCEF
#E4A5E8
#D679DD
#C84CD2
#b02fba
#9A29A3
#7B2182
#5A1C5F
#38113B
Base = 600Lightest = 50 · #FAF4FBDarkest = 950 · #38113B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E9F7;
  --brand-200: #EDCCEF;
  --brand-300: #E4A5E8;
  --brand-400: #D679DD;
  --brand-500: #C84CD2;
  --brand-600: #b02fba;
  --brand-700: #9A29A3;
  --brand-800: #7B2182;
  --brand-900: #5A1C5F;
  --brand-950: #38113B;
  --brand: #b02fba;
  --brand-ink: #ffffff;
}

Colors that work with #b02fba

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#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#4FA725
Second voice, not a rival
Dark variant#601A66
Hover, pressed, headers
Light variant#F9EBFA
Selected rows, tints
Dark surface#231424
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 #b02fba

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#39BA2F
Analogous left#6B2FBA
Analogous right#BA2F7F
Split-complement 1#7FBA2F
Split-complement 2#2FBA6B
Triadic 1#BAB02F
Triadic 2#2FBAB0
Tetradic#BA6B2F

RGB percentages

Red69.0%
Green18.4%
Blue72.9%

CMYK percentages

Cyan5.4%
Magenta74.7%
Yellow0.0%
Key (black)27.1%

Color previews

#b02fba text on a black background

contrast 3.96:1

Card sample

#b02fba text on a white background

contrast 5.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b02fba

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.

#b02fba 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

Converts to four-color process without much drama. Proof it anyway.

#b02fba, answered

What color is #b02fba?

#b02fba is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 5.8). It sits at 296° on the hue wheel with 60% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #b02fba?

rgb(176, 47, 186) — 176 red, 47 green and 186 blue out of 255, or 69% / 18.4% / 72.9% by channel.

Is #b02fba a light or a dark color?

It is a dark color. Relative luminance is 0.1481 and perceived brightness is 47%, so white text on it reaches 5.30:1.

Should I use black or white text on #b02fba?

White. It scores 5.30:1 against #b02fba, versus 3.96:1 for black — AA at any size.

What is the complementary color of #b02fba?

#39BA2F sits directly opposite on the wheel. Softer options are the split-complements #7FBA2F and #2FBA6B, which give the same contrast with far less vibration.

What colors go well with #b02fba?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #4FA725 as an accent and #601A66 for hover and pressed states. For a palette, the analogous pair #6B2FBA and #BA2F7F stays calm, while #39BA2F is the loudest partner.

What is #b02fba in CMYK for printing?

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

Is #b02fba warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA2F91; nudged cooler, #7D2DBC.

Work with #b02fba in the Color Lab