#DC287C

A color in the Red, Pink family

#dc287c is a color in the Red, Pink family: RGB(220, 40, 124), HSL(332°, 72%, 51%), CMYK(0%, 82%, 44%, 14%). Closest named color: mediumvioletred. Contrast is 4.53:1 on white and 4.64:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dc287c
RGBrgb(220 40 124)
RGB (legacy)rgb(220, 40, 124)
RGB %rgb(86% 16% 49%)
HSLhsl(332 72% 51%)
HSV / HSBhsv(332, 82%, 86%)
HWBhwb(332 16% 14%)
CMYKcmyk(0%, 82%, 44%, 14%)
CIELAB (D50)lab(50.29 70.6 -0.48)
LCHlch(50.29 70.6 359.61)
OKLaboklab(0.5955 0.2195 -0.004)
OKLCHoklch(0.5955 0.2196 358.96)
Decimal14428284

Properties

Color ToneRed, Pink
Closest named colormediumvioletred ΔE 5.5
Closest web-safe color#cc3366
Hue332°
Saturation (HSL / HSV)72% / 82%
Lightness (HSL)51%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)41% / 33%
Relative luminance (WCAG)0.1819
Red / Green / Blue220 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.53:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.64: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.7 / -31.9 · As background with white / black text: Lc -75.2 / 34.4

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: #dc287c;
  --color-brand-oklch: oklch(59.55% 0.2196 358.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(220 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dc287c] text-[#dc287c] border-[#dc287c]">