#db7da2
a light, vivid magenta / pink · warm · closest name: Pale Violet Red
At a glance
Every number on this page in one read: what #db7da2 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 | #db7da2 |
| RGB | rgb(219, 125, 162) |
| HSL | hsl(336, 57%, 68%) |
| CMYK | cmyk(0%, 43%, 26%, 14%) |
| LAB | lab(63.6 40.9 -3.7) |
| LCH | lch(63.6 41.0 354.8) |
| OKLCH | oklch(0.702 0.123 355.7) |
| Decimal | 14384546 |
| Display P3 | color(display-p3 0.859 0.490 0.635) |
Copy-ready code
/* CSS */
color: #db7da2;
background-color: #db7da2;
/* Tailwind (arbitrary) */
class="text-[#db7da2] bg-[#db7da2]"
/* SCSS */
$brand: #db7da2;
/* SwiftUI */
Color(red: 0.859, green: 0.490, blue: 0.635)
/* Android */
Color.parseColor("#db7da2")
/* Flutter */
Color(0xFFDB7DA2)
/* Python / OpenCV (BGR) */
(162, 125, 219)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. #db7da2 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBF4F7;
--brand-100: #F6E9EE;
--brand-200: #EECDDA;
--brand-300: #E7A7C0;
--brand-400: #db7da2;
--brand-500: #CE4F81;
--brand-600: #C0356C;
--brand-700: #A02C5A;
--brand-800: #802348;
--brand-900: #5D1D36;
--brand-950: #3A1222;
--brand: #db7da2;
--brand-ink: #000000;
}Colors that work with #db7da2
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 #db7da2
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White 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 | #7DDBB6 | Directly opposite — maximum tension | |
| Analogous left | #DB7DD1 | Neighbour, quieter | |
| Analogous right | #DB877D | Neighbour, quieter | |
| Split-complement 1 | #7DDB87 | Contrast without the clash | |
| Split-complement 2 | #7DD1DB | Contrast without the clash | |
| Triadic 1 | #A2DB7D | Even thirds — balanced and loud | |
| Triadic 2 | #7DA2DB | Even thirds — balanced and loud | |
| Tetradic | #D1DB7D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#db7da2 text on a black background
contrast 7.47:1
#db7da2 text on a white background
contrast 2.81:1
CSS3 live lab
The quick brown fox
color: #db7da2;
background-color: #db7da2;
Glowing headline
text-shadow: 2px 2px 8px #db7da2;
Soft neon halo
text-shadow: 0 0 14px rgba(219, 125, 162, 0.45);
box-shadow: 0 12px 32px -8px rgba(219, 125, 162, 0.45);
border: 3px solid #db7da2; background: linear-gradient(135deg, #db7da2, #DB977D);
Monochromatic scale
Palettes built from #db7da2
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: Flamingo (#fc8eac) — ΔE2000 7.4 away, with its history, psychology and brand usage.
#db7da2 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.
#db7da2, answered
What color is #db7da2?
#db7da2 is a light vivid magenta / pink, closest to Pale Violet Red (ΔE2000 3.8). It sits at 336° on the hue wheel with 57% saturation and 68% lightness, which reads as warm.
What is the RGB value of #db7da2?
rgb(219, 125, 162) — 219 red, 125 green and 162 blue out of 255, or 85.9% / 49% / 63.5% by channel.
Is #db7da2 a light or a dark color?
It is a mid-tone. Relative luminance is 0.3234 and perceived brightness is 64%, so black text on it reaches 7.47:1.
Should I use black or white text on #db7da2?
Black. It scores 7.47:1 against #db7da2, versus 2.81:1 for white — AAA at any size.
What is the complementary color of #db7da2?
#7DDBB6 sits directly opposite on the wheel. Softer options are the split-complements #7DDB87 and #7DD1DB, which give the same contrast with far less vibration.
What colors go well with #db7da2?
For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B6A for secondary text, #29A355 as an accent and #641C38 for hover and pressed states. For a palette, the analogous pair #DB7DD1 and #DB877D stays calm, while #7DDBB6 is the loudest partner.
What is #db7da2 in CMYK for printing?
cmyk(0%, 43%, 26%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #db7da2 warm or cool?
Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DB7D80; nudged cooler, #DD7CC5.