#CA4E8A

A color in the Red, Pink family

#ca4e8a is a color in the Red, Pink family: RGB(202, 78, 138), HSL(331°, 54%, 55%), CMYK(0%, 61%, 32%, 21%). Closest named color: mediumvioletred. Contrast is 4.23:1 on white and 4.97:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ca4e8a
RGBrgb(202 78 138)
RGB (legacy)rgb(202, 78, 138)
RGB %rgb(79% 31% 54%)
HSLhsl(331 54% 55%)
HSV / HSBhsv(331, 61%, 79%)
HWBhwb(331 31% 21%)
CMYKcmyk(0%, 61%, 32%, 21%)
CIELAB (D50)lab(52 54.24 -6.86)
LCHlch(52 54.67 352.79)
OKLaboklab(0.6054 0.1675 -0.0198)
OKLCHoklch(0.6054 0.1687 353.25)
Decimal13258378

Properties

Color ToneRed, Pink
Closest named colormediumvioletred ΔE 7.5
Closest web-safe color#cc6699
Hue331°
Saturation (HSL / HSV)54% / 61%
Lightness (HSL)55%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)48% / 43%
Relative luminance (WCAG)0.1984
Red / Green / Blue202 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.97: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.4 / -33.2 · As background with white / black text: Lc -73.9 / 35.6

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: #ca4e8a;
  --color-brand-oklch: oklch(60.54% 0.1687 353.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(202 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ca4e8a] text-[#ca4e8a] border-[#ca4e8a]">