#D12E4E

A color in the Red, Pink family

#d12e4e is a color in the Red, Pink family: RGB(209, 46, 78), HSL(348°, 64%, 50%), CMYK(0%, 78%, 63%, 18%). Closest named color: crimson. Contrast is 4.99:1 on white and 4.21:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d12e4e
RGBrgb(209 46 78)
RGB (legacy)rgb(209, 46, 78)
RGB %rgb(82% 18% 31%)
HSLhsl(348 64% 50%)
HSV / HSBhsv(348, 78%, 82%)
HWBhwb(348 18% 18%)
CMYKcmyk(0%, 78%, 63%, 18%)
CIELAB (D50)lab(47.76 63.76 23.79)
LCHlch(47.76 68.06 20.46)
OKLaboklab(0.5685 0.1898 0.0538)
OKLCHoklch(0.5685 0.1973 15.83)
Decimal13708878

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 2.9
Closest web-safe color#cc3366
Hue348°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)50%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)39% / 33%
Relative luminance (WCAG)0.1606
Red / Green / Blue209 / 46 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.21: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 73 / -28.7 · As background with white / black text: Lc -78.4 / 31.1

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