#DF108F

A color in the Purple, Crimson, Magenta family

#df108f is a color in the Purple, Crimson, Magenta family: RGB(223, 16, 143), HSL(323°, 87%, 47%), CMYK(0%, 93%, 36%, 13%). Closest named color: mediumvioletred. Contrast is 4.56:1 on white and 4.61:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#df108f
RGBrgb(223 16 143)
RGB (legacy)rgb(223, 16, 143)
RGB %rgb(87% 6% 56%)
HSLhsl(323 87% 47%)
HSV / HSBhsv(323, 93%, 87%)
HWBhwb(323 6% 13%)
CMYKcmyk(0%, 93%, 36%, 13%)
CIELAB (D50)lab(50.04 76.38 -12.26)
LCHlch(50.04 77.36 350.88)
OKLaboklab(0.5973 0.2397 -0.035)
OKLCHoklch(0.5973 0.2422 351.68)
Decimal14618767

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 4.9
Closest web-safe color#cc0099
Hue323°
Saturation (HSL / HSV)87% / 93%
Lightness (HSL)47%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)36% / 27%
Relative luminance (WCAG)0.1804
Red / Green / Blue223 / 16 / 143

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.56:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.61: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.3 · As background with white / black text: Lc -74.8 / 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: #df108f;
  --color-brand-oklch: oklch(59.73% 0.2422 351.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 16 143 / 50%); }
/* Tailwind CSS */
<div class="bg-[#df108f] text-[#df108f] border-[#df108f]">