Skip to content

#280d21

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

RGB
40, 13, 33
HSL
316°, 51%, 10%
CMYK
0, 68, 18, 84
Luminance
0.0085

At a glance

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

Hex
#280d21
Hue
316°
magenta / pink
Saturation
51%
vivid
Lightness
10%
deep
Brightness
16%
HSV value
Perceived
10%
weighted brightness
Luminance
0.0085
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
17.95:1
Closest name
Black
ΔE2000 17.3
Where it sits
Hue316° of 360°
Saturation51%
Lightness10%
Temperature
Warm ← → Cool41% 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#280d21
RGBrgb(40, 13, 33)
HSLhsl(316, 51%, 10%)
CMYKcmyk(0%, 68%, 18%, 84%)
LABlab(7.7 17.4 -7.5)
LCHlch(7.7 18.9 336.6)
OKLCHoklch(0.211 0.055 338.4)
Decimal2624801
Display P3color(display-p3 0.157 0.051 0.129)

Copy-ready code

/* CSS */
color: #280d21;
background-color: #280d21;
/* Tailwind (arbitrary) */
class="text-[#280d21] bg-[#280d21]"
/* SCSS */
$brand: #280d21;
/* SwiftUI */
Color(red: 0.157, green: 0.051, blue: 0.129)
/* Android */
Color.parseColor("#280d21")
/* Flutter */
Color(0xFF280D21)
/* Python / OpenCV (BGR) */
(33, 13, 40)

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

Accessibility — WCAG contrast

Aa
#280d21 on white: 17.95:1
AA ✓ pass · AA-large · AAA
Aa
#280d21 on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0E1422
deuteranopia · #161820
tritanopia · #2A0E15

Color scale — 50 to 950

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

#FAF4F9
#F6EAF3
#EDCFE5
#E3AAD5
#D680BF
#C856AA
#B93C98
#9A327F
#7B2866
#5A214B
#280d21
Base = 950Lightest = 50 · #FAF4F9Darkest = 950 · #280d21
:root {
  --brand-50: #FAF4F9;
  --brand-100: #F6EAF3;
  --brand-200: #EDCFE5;
  --brand-300: #E3AAD5;
  --brand-400: #D680BF;
  --brand-500: #C856AA;
  --brand-600: #B93C98;
  --brand-700: #9A327F;
  --brand-800: #7B2866;
  --brand-900: #5A214B;
  --brand-950: #280d21;
  --brand: #280d21;
  --brand-ink: #ffffff;
}

Colors that work with #280d21

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#EBC1E0
Hairlines and dividers
Muted text#9B4B86
Captions on the surface
Accent#0C290C
Second voice, not a rival
Dark variant#601F4F
Hover, pressed, headers
Light variant#F9ECF5
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 #280d21

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#0D2814
Analogous left#220D28
Analogous right#280D14
Split-complement 1#14280D
Split-complement 2#0D2822
Triadic 1#21280D
Triadic 2#0D2128
Tetradic#28220D

RGB percentages

Red15.7%
Green5.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta67.5%
Yellow17.5%
Key (black)84.3%

Color previews

#280d21 text on a black background

contrast 1.17:1

Card sample

#280d21 text on a white background

contrast 17.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 13, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 13, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280d21;
background: linear-gradient(135deg, #280d21, #280D0F);

Monochromatic scale

Palettes built from #280d21

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.

#280d21 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.

#280d21, answered

What color is #280d21?

#280d21 is a deep vivid magenta / pink, closest to Black (ΔE2000 17.3). It sits at 316° on the hue wheel with 51% saturation and 10% lightness, which reads as warm.

What is the RGB value of #280d21?

rgb(40, 13, 33) — 40 red, 13 green and 33 blue out of 255, or 15.7% / 5.1% / 12.9% by channel.

Is #280d21 a light or a dark color?

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

Should I use black or white text on #280d21?

White. It scores 17.95:1 against #280d21, versus 1.17:1 for black — AAA at any size.

What is the complementary color of #280d21?

#0D2814 sits directly opposite on the wheel. Softer options are the split-complements #14280D and #0D2822, which give the same contrast with far less vibration.

What colors go well with #280d21?

For interface work: #FAF4F9 as the surface, #EBC1E0 for borders, #9B4B86 for secondary text, #0C290C as an accent and #601F4F for hover and pressed states. For a palette, the analogous pair #220D28 and #280D14 stays calm, while #0D2814 is the loudest partner.

What is #280d21 in CMYK for printing?

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

Is #280d21 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #280D17; nudged cooler, #260C29.

Work with #280d21 in the Color Lab