#CD5C8A

A color in the Red, Pink family

#cd5c8a is a color in the Red, Pink family: RGB(205, 92, 138), HSL(336°, 53%, 58%), CMYK(0%, 55%, 33%, 20%). Closest named color: palevioletred. Contrast is 3.82:1 on white and 5.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cd5c8a
RGBrgb(205 92 138)
RGB (legacy)rgb(205, 92, 138)
RGB %rgb(80% 36% 54%)
HSLhsl(336 53% 58%)
HSV / HSBhsv(336, 55%, 80%)
HWBhwb(336 36% 20%)
CMYKcmyk(0%, 55%, 33%, 20%)
CIELAB (D50)lab(54.86 49.1 -2.6)
LCHlch(54.86 49.17 356.96)
OKLaboklab(0.6276 0.1506 -0.0084)
OKLCHoklch(0.6276 0.1509 356.8)
Decimal13458570

Properties

Color ToneRed, Pink
Closest named colorpalevioletred ΔE 5.3
Closest web-safe color#cc6699
Hue336°
Saturation (HSL / HSV)53% / 55%
Lightness (HSL)58%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)51% / 47%
Relative luminance (WCAG)0.2247
Red / Green / Blue205 / 92 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.82:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.49: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 65.2 / -36.5 · As background with white / black text: Lc -70.7 / 38.9

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: #cd5c8a;
  --color-brand-oklch: oklch(62.76% 0.1509 356.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 92 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cd5c8a] text-[#cd5c8a] border-[#cd5c8a]">