#CD024E

A color in the Red, Pink family

#cd024e is a color in the Red, Pink family: RGB(205, 2, 78), HSL(338°, 98%, 41%), CMYK(0%, 99%, 62%, 20%). Closest named color: crimson. Contrast is 5.65:1 on white and 3.71:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cd024e
RGBrgb(205 2 78)
RGB (legacy)rgb(205, 2, 78)
RGB %rgb(80% 1% 31%)
HSLhsl(338 98% 41%)
HSV / HSBhsv(338, 99%, 80%)
HWBhwb(338 1% 20%)
CMYKcmyk(0%, 99%, 62%, 20%)
CIELAB (D50)lab(44.36 69.88 19.24)
LCHlch(44.36 72.48 15.39)
OKLaboklab(0.5418 0.2115 0.043)
OKLCHoklch(0.5418 0.2158 11.49)
Decimal13435470

Properties

Color ToneRed, Pink
Closest named colorcrimson ΔE 4.4
Closest web-safe color#cc0066
Hue338°
Saturation (HSL / HSV)98% / 99%
Lightness (HSL)41%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)28% / 20%
Relative luminance (WCAG)0.1357
Red / Green / Blue205 / 2 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.71: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 75.6 / -26.1 · As background with white / black text: Lc -81 / 28.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: #cd024e;
  --color-brand-oklch: oklch(54.18% 0.2158 11.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 2 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cd024e] text-[#cd024e] border-[#cd024e]">