Skip to content

#2b0821

a deep, vivid magenta / pink · warm · closest name: Black

RGB
43, 8, 33
HSL
317°, 69%, 10%
CMYK
0, 81, 23, 83
Luminance
0.0080

At a glance

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

Hex
#2b0821
Hue
317°
magenta / pink
Saturation
69%
vivid
Lightness
10%
deep
Brightness
17%
HSV value
Perceived
10%
weighted brightness
Luminance
0.0080
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
18.11:1
Closest name
Black
ΔE2000 19.2
Where it sits
Hue317° of 360°
Saturation69%
Lightness10%
Temperature
Warm ← → Cool40% 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#2b0821
RGBrgb(43, 8, 33)
HSLhsl(317, 69%, 10%)
CMYKcmyk(0%, 81%, 23%, 83%)
LABlab(7.2 21.3 -8.2)
LCHlch(7.2 22.8 339.0)
OKLCHoklch(0.209 0.068 340.9)
Decimal2820129
Display P3color(display-p3 0.169 0.031 0.129)

Copy-ready code

/* CSS */
color: #2b0821;
background-color: #2b0821;
/* Tailwind (arbitrary) */
class="text-[#2b0821] bg-[#2b0821]"
/* SCSS */
$brand: #2b0821;
/* SwiftUI */
Color(red: 0.169, green: 0.031, blue: 0.129)
/* Android */
Color.parseColor("#2b0821")
/* Flutter */
Color(0xFF2B0821)
/* Python / OpenCV (BGR) */
(33, 8, 43)

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 #2b0821 · 18.11:1
Use #ffffffAAA at every size.
Aa
White text · 18.11:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.16:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2b0821 as text scores 18.11:1 on white and 1.16:1 on black.

Accessibility — WCAG contrast

Aa
#2b0821 on white: 18.11:1
AA ✓ pass · AA-large · AAA
Aa
#2b0821 on black: 1.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0A1222
deuteranopia · #151820
tritanopia · #2E0913

Color scale — 50 to 950

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

#FBF3F9
#F8E8F3
#F2CAE6
#EDA0D7
#E571C4
#DC42B0
#CE269F
#AC2084
#8A1A6A
#64174E
#2b0821
Base = 950Lightest = 50 · #FBF3F9Darkest = 950 · #2b0821
:root {
  --brand-50: #FBF3F9;
  --brand-100: #F8E8F3;
  --brand-200: #F2CAE6;
  --brand-300: #EDA0D7;
  --brand-400: #E571C4;
  --brand-500: #DC42B0;
  --brand-600: #CE269F;
  --brand-700: #AC2084;
  --brand-800: #8A1A6A;
  --brand-900: #64174E;
  --brand-950: #2b0821;
  --brand: #2b0821;
  --brand-ink: #ffffff;
}

Colors that work with #2b0821

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#FAF4F9
Tinted page background
Border#EDC0E0
Hairlines and dividers
Muted text#9B4B84
Captions on the surface
Accent#072C08
Second voice, not a rival
Dark variant#6B1453
Hover, pressed, headers
Light variant#FBEAF6
Selected rows, tints
Dark surface#241420
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 #2b0821

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
  • Text on black or near-black surfaces
  • 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#082B12
Analogous left#23082B
Analogous right#2B0810
Split-complement 1#102B08
Split-complement 2#082B23
Triadic 1#212B08
Triadic 2#08212B
Tetradic#2B2308

RGB percentages

Red16.9%
Green3.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow23.3%
Key (black)83.1%

Color previews

#2b0821 text on a black background

contrast 1.16:1

Card sample

#2b0821 text on a white background

contrast 18.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 8, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 8, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b0821;
background: linear-gradient(135deg, #2b0821, #2B080A);

Monochromatic scale

Palettes built from #2b0821

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.

#2b0821 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.

#2b0821, answered

What color is #2b0821?

#2b0821 is a deep vivid magenta / pink, closest to Black (ΔE2000 19.2). It sits at 317° on the hue wheel with 69% saturation and 10% lightness, which reads as warm.

What is the RGB value of #2b0821?

rgb(43, 8, 33) — 43 red, 8 green and 33 blue out of 255, or 16.9% / 3.1% / 12.9% by channel.

Is #2b0821 a light or a dark color?

It is a dark color. Relative luminance is 0.0080 and perceived brightness is 10%, so white text on it reaches 18.11:1.

Should I use black or white text on #2b0821?

White. It scores 18.11:1 against #2b0821, versus 1.16:1 for black — AAA at any size.

What is the complementary color of #2b0821?

#082B12 sits directly opposite on the wheel. Softer options are the split-complements #102B08 and #082B23, which give the same contrast with far less vibration.

What colors go well with #2b0821?

For interface work: #FAF4F9 as the surface, #EDC0E0 for borders, #9B4B84 for secondary text, #072C08 as an accent and #6B1453 for hover and pressed states. For a palette, the analogous pair #23082B and #2B0810 stays calm, while #082B12 is the loudest partner.

What is #2b0821 in CMYK for printing?

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

Is #2b0821 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B0814; nudged cooler, #29072C.

Work with #2b0821 in the Color Lab