Skip to content

#db5cef

a balanced, electric magenta / pink · neutral · closest name: Orchid

RGB
219, 92, 239
HSL
292°, 82%, 65%
CMYK
8, 62, 0, 6
Luminance
0.2895

At a glance

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

Hex
#db5cef
Hue
292°
magenta / pink
Saturation
82%
electric
Lightness
65%
balanced
Brightness
94%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2895
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.79:1
Closest name
Orchid
ΔE2000 5.8
Where it sits
Hue292° of 360°
Saturation82%
Lightness65%
Temperature
Warm ← → Cool55% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#db5cef
RGBrgb(219, 92, 239)
HSLhsl(292, 82%, 65%)
CMYKcmyk(8%, 62%, 0%, 6%)
LABlab(60.7 69.1 -51.6)
LCHlch(60.7 86.3 323.3)
OKLCHoklch(0.691 0.233 322.0)
Decimal14376175
Display P3color(display-p3 0.859 0.361 0.937)

Copy-ready code

/* CSS */
color: #db5cef;
background-color: #db5cef;
/* Tailwind (arbitrary) */
class="text-[#db5cef] bg-[#db5cef]"
/* SCSS */
$brand: #db5cef;
/* SwiftUI */
Color(red: 0.859, green: 0.361, blue: 0.937)
/* Android */
Color.parseColor("#db5cef")
/* Flutter */
Color(0xFFDB5CEF)
/* Python / OpenCV (BGR) */
(239, 92, 219)

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#000000 on #db5cef · 6.79:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.09:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.79:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #db5cef as text scores 3.09:1 on white and 6.79:1 on black.

Accessibility — WCAG contrast

Aa
#db5cef on white: 3.09:1
AA ✗ fail · AA-large · AAA
Aa
#db5cef on black: 6.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3B89F3
deuteranopia · #6E97EB
tritanopia · #DE739E

Color scale — 50 to 950

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

#FBF2FC
#F7E6FA
#EFC6F6
#E899F5
#db5cef
#D233EB
#C316DF
#A312BA
#820F95
#5F0F6B
#3B0943
Base = 400Lightest = 50 · #FBF2FCDarkest = 950 · #3B0943
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F7E6FA;
  --brand-200: #EFC6F6;
  --brand-300: #E899F5;
  --brand-400: #db5cef;
  --brand-500: #D233EB;
  --brand-600: #C316DF;
  --brand-700: #A312BA;
  --brand-800: #820F95;
  --brand-900: #5F0F6B;
  --brand-950: #3B0943;
  --brand: #db5cef;
  --brand-ink: #000000;
}

Colors that work with #db5cef

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#52BE0E
Second voice, not a rival
Dark variant#660B74
Hover, pressed, headers
Light variant#FAE8FD
Selected rows, tints
Dark surface#221424
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 #db5cef

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#70EF5C
Analogous left#915CEF
Analogous right#EF5CBA
Split-complement 1#BAEF5C
Split-complement 2#5CEF91
Triadic 1#EFDB5C
Triadic 2#5CEFDB
Tetradic#EF915C

RGB percentages

Red85.9%
Green36.1%
Blue93.7%

CMYK percentages

Cyan8.4%
Magenta61.5%
Yellow0.0%
Key (black)6.3%

Color previews

#db5cef text on a black background

contrast 6.79:1

Card sample

#db5cef text on a white background

contrast 3.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 92, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 92, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #db5cef;
background: linear-gradient(135deg, #db5cef, #EF5CA1);

Monochromatic scale

Palettes built from #db5cef

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.

#db5cef 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#db5cef, answered

What color is #db5cef?

#db5cef is a balanced electric magenta / pink, closest to Orchid (ΔE2000 5.8). It sits at 292° on the hue wheel with 82% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #db5cef?

rgb(219, 92, 239) — 219 red, 92 green and 239 blue out of 255, or 85.9% / 36.1% / 93.7% by channel.

Is #db5cef a light or a dark color?

It is a mid-tone. Relative luminance is 0.2895 and perceived brightness is 63%, so black text on it reaches 6.79:1.

Should I use black or white text on #db5cef?

Black. It scores 6.79:1 against #db5cef, versus 3.09:1 for white — AA at any size.

What is the complementary color of #db5cef?

#70EF5C sits directly opposite on the wheel. Softer options are the split-complements #BAEF5C and #5CEF91, which give the same contrast with far less vibration.

What colors go well with #db5cef?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #52BE0E as an accent and #660B74 for hover and pressed states. For a palette, the analogous pair #915CEF and #EF5CBA stays calm, while #70EF5C is the loudest partner.

What is #db5cef in CMYK for printing?

cmyk(8%, 62%, 0%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #db5cef warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EF5CCD; nudged cooler, #A55AF1.

Work with #db5cef in the Color Lab