#CD507A

A color in the Red, Pink family

#cd507a is a color in the Red, Pink family: RGB(205, 80, 122), HSL(340°, 56%, 56%), CMYK(0%, 61%, 40%, 20%). Closest named color: indianred. Contrast is 4.18:1 on white and 5.02:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cd507a
RGBrgb(205 80 122)
RGB (legacy)rgb(205, 80, 122)
RGB %rgb(80% 31% 48%)
HSLhsl(340 56% 56%)
HSV / HSBhsv(340, 61%, 80%)
HWBhwb(340 31% 20%)
CMYKcmyk(0%, 61%, 40%, 20%)
CIELAB (D50)lab(52.41 53.06 3.34)
LCHlch(52.41 53.17 3.61)
OKLaboklab(0.6071 0.1624 0.0067)
OKLCHoklch(0.6071 0.1626 2.35)
Decimal13455482

Properties

Color ToneRed, Pink
Closest named colorindianred ΔE 5.7
Closest web-safe color#cc6666
Hue340°
Saturation (HSL / HSV)56% / 61%
Lightness (HSL)56%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)48% / 43%
Relative luminance (WCAG)0.2012
Red / Green / Blue205 / 80 / 122

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.18:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.02: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 68.1 / -33.6 · As background with white / black text: Lc -73.6 / 36

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: #cd507a;
  --color-brand-oklch: oklch(60.71% 0.1626 2.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 80 122 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cd507a] text-[#cd507a] border-[#cd507a]">