Skip to content

#2b0f21

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

RGB
43, 15, 33
HSL
321°, 48%, 11%
CMYK
0, 65, 23, 83
Luminance
0.0097

At a glance

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

Hex
#2b0f21
Hue
321°
magenta / pink
Saturation
48%
vivid
Lightness
11%
deep
Brightness
17%
HSV value
Perceived
11%
weighted brightness
Luminance
0.0097
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
17.60:1
Closest name
Black
ΔE2000 17.3
Where it sits
Hue321° of 360°
Saturation48%
Lightness11%
Temperature
Warm ← → Cool38% 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#2b0f21
RGBrgb(43, 15, 33)
HSLhsl(321, 48%, 11%)
CMYKcmyk(0%, 65%, 23%, 83%)
LABlab(8.7 17.3 -5.9)
LCHlch(8.7 18.3 341.2)
OKLCHoklch(0.220 0.054 343.1)
Decimal2821921
Display P3color(display-p3 0.169 0.059 0.129)

Copy-ready code

/* CSS */
color: #2b0f21;
background-color: #2b0f21;
/* Tailwind (arbitrary) */
class="text-[#2b0f21] bg-[#2b0f21]"
/* SCSS */
$brand: #2b0f21;
/* SwiftUI */
Color(red: 0.169, green: 0.059, blue: 0.129)
/* Android */
Color.parseColor("#2b0f21")
/* Flutter */
Color(0xFF2B0F21)
/* Python / OpenCV (BGR) */
(33, 15, 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 #2b0f21 · 17.60:1
Use #ffffffAAA at every size.
Aa
White text · 17.60:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.19:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2b0f21 as text scores 17.60:1 on white and 1.19:1 on black.

Accessibility — WCAG contrast

Aa
#2b0f21 on white: 17.60:1
AA ✓ pass · AA-large · AAA
Aa
#2b0f21 on black: 1.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #111622
deuteranopia · #191B20
tritanopia · #2E0F16

Color scale — 50 to 950

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

#FAF4F8
#F5EAF1
#ECD0E2
#E2ACCF
#D382B7
#C5599E
#B63F8B
#973574
#792A5D
#582245
#2b0f21
Base = 950Lightest = 50 · #FAF4F8Darkest = 950 · #2b0f21
:root {
  --brand-50: #FAF4F8;
  --brand-100: #F5EAF1;
  --brand-200: #ECD0E2;
  --brand-300: #E2ACCF;
  --brand-400: #D382B7;
  --brand-500: #C5599E;
  --brand-600: #B63F8B;
  --brand-700: #973574;
  --brand-800: #792A5D;
  --brand-900: #582245;
  --brand-950: #2b0f21;
  --brand: #2b0f21;
  --brand-ink: #ffffff;
}

Colors that work with #2b0f21

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#FAF4F8
Tinted page background
Border#EAC2DC
Hairlines and dividers
Muted text#9B4B7E
Captions on the surface
Accent#0E2C11
Second voice, not a rival
Dark variant#5F2149
Hover, pressed, headers
Light variant#F8ECF4
Selected rows, tints
Dark surface#24141E
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 #2b0f21

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#0F2B19
Analogous left#270F2B
Analogous right#2B0F13
Split-complement 1#132B0F
Split-complement 2#0F2B27
Triadic 1#212B0F
Triadic 2#0F212B
Tetradic#2B270F

RGB percentages

Red16.9%
Green5.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta65.1%
Yellow23.3%
Key (black)83.1%

Color previews

#2b0f21 text on a black background

contrast 1.19:1

Card sample

#2b0f21 text on a white background

contrast 17.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b0f21

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.

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

#2b0f21, answered

What color is #2b0f21?

#2b0f21 is a deep vivid magenta / pink, closest to Black (ΔE2000 17.3). It sits at 321° on the hue wheel with 48% saturation and 11% lightness, which reads as warm.

What is the RGB value of #2b0f21?

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

Is #2b0f21 a light or a dark color?

It is a dark color. Relative luminance is 0.0097 and perceived brightness is 11%, so white text on it reaches 17.60:1.

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

White. It scores 17.60:1 against #2b0f21, versus 1.19:1 for black — AAA at any size.

What is the complementary color of #2b0f21?

#0F2B19 sits directly opposite on the wheel. Softer options are the split-complements #132B0F and #0F2B27, which give the same contrast with far less vibration.

What colors go well with #2b0f21?

For interface work: #FAF4F8 as the surface, #EAC2DC for borders, #9B4B7E for secondary text, #0E2C11 as an accent and #5F2149 for hover and pressed states. For a palette, the analogous pair #270F2B and #2B0F13 stays calm, while #0F2B19 is the loudest partner.

What is #2b0f21 in CMYK for printing?

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

Is #2b0f21 warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B0F17; nudged cooler, #2B0E2C.

Work with #2b0f21 in the Color Lab