#4f0e21
a deep, vivid magenta / pink · warm · closest name: Maroon
At a glance
Every number on this page in one read: what #4f0e21 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #4f0e21 |
| RGB | rgb(79, 14, 33) |
| HSL | hsl(343, 70%, 18%) |
| CMYK | cmyk(0%, 82%, 58%, 69%) |
| LAB | lab(15.9 31.1 5.6) |
| LCH | lch(15.9 31.6 10.2) |
| OKLCH | oklch(0.288 0.096 8.6) |
| Decimal | 5180961 |
| Display P3 | color(display-p3 0.310 0.055 0.129) |
Copy-ready code
/* CSS */
color: #4f0e21;
background-color: #4f0e21;
/* Tailwind (arbitrary) */
class="text-[#4f0e21] bg-[#4f0e21]"
/* SCSS */
$brand: #4f0e21;
/* SwiftUI */
Color(red: 0.310, green: 0.055, blue: 0.129)
/* Android */
Color.parseColor("#4f0e21")
/* Flutter */
Color(0xFF4F0E21)
/* Python / OpenCV (BGR) */
(33, 14, 79)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #4f0e21 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.
:root {
--brand-50: #FCF3F6;
--brand-100: #F8E7EC;
--brand-200: #F2C9D5;
--brand-300: #EEA0B7;
--brand-400: #E67092;
--brand-500: #DD406E;
--brand-600: #D02557;
--brand-700: #AD1F48;
--brand-800: #8B193A;
--brand-900: #65162D;
--brand-950: #4f0e21;
--brand: #4f0e21;
--brand-ink: #ffffff;
}Colors that work with #4f0e21
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #4f0e21
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #0E4F3C | Directly opposite — maximum tension | |
| Analogous left | #4F0E41 | Neighbour, quieter | |
| Analogous right | #4F1B0E | Neighbour, quieter | |
| Split-complement 1 | #0E4F1B | Contrast without the clash | |
| Split-complement 2 | #0E414F | Contrast without the clash | |
| Triadic 1 | #214F0E | Even thirds — balanced and loud | |
| Triadic 2 | #0E214F | Even thirds — balanced and loud | |
| Tetradic | #414F0E | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#4f0e21 text on a black background
contrast 1.42:1
#4f0e21 text on a white background
contrast 14.82:1
CSS3 live lab
The quick brown fox
color: #4f0e21;
background-color: #4f0e21;
Glowing headline
text-shadow: 2px 2px 8px #4f0e21;
Soft neon halo
text-shadow: 0 0 14px rgba(79, 14, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(79, 14, 33, 0.45);
border: 3px solid #4f0e21; background: linear-gradient(135deg, #4f0e21, #4F260E);
Monochromatic scale
Palettes built from #4f0e21
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.
Closest color with a full write-up: Oxblood (#4a0000) — ΔE2000 8.8 away, with its history, psychology and brand usage.
#4f0e21 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#4f0e21, answered
What color is #4f0e21?
#4f0e21 is a deep vivid magenta / pink, closest to Maroon (ΔE2000 17.7). It sits at 343° on the hue wheel with 70% saturation and 18% lightness, which reads as warm.
What is the RGB value of #4f0e21?
rgb(79, 14, 33) — 79 red, 14 green and 33 blue out of 255, or 31% / 5.5% / 12.9% by channel.
Is #4f0e21 a light or a dark color?
It is a dark color. Relative luminance is 0.0209 and perceived brightness is 18%, so white text on it reaches 14.82:1.
Should I use black or white text on #4f0e21?
White. It scores 14.82:1 against #4f0e21, versus 1.42:1 for black — AAA at any size.
What is the complementary color of #4f0e21?
#0E4F3C sits directly opposite on the wheel. Softer options are the split-complements #0E4F1B and #0E414F, which give the same contrast with far less vibration.
What colors go well with #4f0e21?
For interface work: #FAF4F6 as the surface, #EDC0CD for borders, #9B4B62 for secondary text, #0C512C as an accent and #6C132D for hover and pressed states. For a palette, the analogous pair #4F0E41 and #4F1B0E stays calm, while #0E4F3C is the loudest partner.
What is #4f0e21 in CMYK for printing?
cmyk(0%, 82%, 58%, 69%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #4f0e21 warm or cool?
Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4F130E; nudged cooler, #500D39.