#D6287C

A color in the Red, Pink family

#d6287c is a color in the Red, Pink family: RGB(214, 40, 124), HSL(331°, 69%, 50%), CMYK(0%, 81%, 42%, 16%). Closest named color: mediumvioletred. Contrast is 4.72:1 on white and 4.45:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d6287c
RGBrgb(214 40 124)
RGB (legacy)rgb(214, 40, 124)
RGB %rgb(84% 16% 49%)
HSLhsl(331 69% 50%)
HSV / HSBhsv(331, 81%, 84%)
HWBhwb(331 16% 16%)
CMYKcmyk(0%, 81%, 42%, 16%)
CIELAB (D50)lab(49.14 69.06 -2.33)
LCHlch(49.14 69.1 358.07)
OKLaboklab(0.5853 0.2151 -0.0087)
OKLCHoklch(0.5853 0.2152 357.69)
Decimal14035068

Properties

Color ToneRed, Pink
Closest named colormediumvioletred ΔE 4.5
Closest web-safe color#cc3366
Hue331°
Saturation (HSL / HSV)69% / 81%
Lightness (HSL)50%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)40% / 33%
Relative luminance (WCAG)0.1727
Red / Green / Blue214 / 40 / 124

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 71.1 / -30.6 · As background with white / black text: Lc -76.5 / 33

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