#DB00A4

A color in the Purple, Crimson, Magenta family

#db00a4 is a color in the Purple, Crimson, Magenta family: RGB(219, 0, 164), HSL(315°, 100%, 43%), CMYK(0%, 100%, 25%, 14%). Closest named color: mediumvioletred. Contrast is 4.62:1 on white and 4.55:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#db00a4
RGBrgb(219 0 164)
RGB (legacy)rgb(219, 0, 164)
RGB %rgb(86% 0% 64%)
HSLhsl(315 100% 43%)
HSV / HSBhsv(315, 100%, 86%)
HWBhwb(315 0% 14%)
CMYKcmyk(0%, 100%, 25%, 14%)
CIELAB (D50)lab(49.51 78.33 -25.71)
LCHlch(49.51 82.44 341.83)
OKLaboklab(0.5961 0.2446 -0.0717)
OKLCHoklch(0.5961 0.2549 343.67)
Decimal14352548

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6
Closest web-safe color#cc0099
Hue315°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)43%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)33% / 23%
Relative luminance (WCAG)0.1774
Red / Green / Blue219 / 0 / 164

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.62:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.55:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 69.4 / -32.2 · As background with white / black text: Lc -74.9 / 34.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #db00a4;
  --color-brand-oklch: oklch(59.61% 0.2549 343.67);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(219 0 164 / 50%); }
/* Tailwind CSS */
<div class="bg-[#db00a4] text-[#db00a4] border-[#db00a4]">