#D42E4E

A color in the Red, Pink family

#d42e4e is a color in the Red, Pink family: RGB(212, 46, 78), HSL(348°, 66%, 51%), CMYK(0%, 78%, 63%, 17%). Closest named color: crimson. Contrast is 4.88:1 on white and 4.3:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d42e4e
RGBrgb(212 46 78)
RGB (legacy)rgb(212, 46, 78)
RGB %rgb(83% 18% 31%)
HSLhsl(348 66% 51%)
HSV / HSBhsv(348, 78%, 83%)
HWBhwb(348 18% 17%)
CMYKcmyk(0%, 78%, 63%, 17%)
CIELAB (D50)lab(48.35 64.62 24.67)
LCHlch(48.35 69.17 20.9)
OKLaboklab(0.5737 0.1921 0.0557)
OKLCHoklch(0.5737 0.2 16.17)
Decimal13905486

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 2.6
Closest web-safe color#cc3366
Hue348°
Saturation (HSL / HSV)66% / 78%
Lightness (HSL)51%
Brightness or Value (HSV)83%
Luminance (Rec.601 / Rec.709)39% / 33%
Relative luminance (WCAG)0.165
Red / Green / Blue212 / 46 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.88:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.30: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 72.3 / -29.4 · As background with white / black text: Lc -77.7 / 31.8

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: #d42e4e;
  --color-brand-oklch: oklch(57.37% 0.2 16.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(212 46 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d42e4e] text-[#d42e4e] border-[#d42e4e]">