#CA005D

A color in the Red, Pink family

#ca005d is a color in the Red, Pink family: RGB(202, 0, 93), HSL(332°, 100%, 40%), CMYK(0%, 100%, 54%, 21%). Closest named color: mediumvioletred. Contrast is 5.72:1 on white and 3.67:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ca005d
RGBrgb(202 0 93)
RGB (legacy)rgb(202, 0, 93)
RGB %rgb(79% 0% 36%)
HSLhsl(332 100% 40%)
HSV / HSBhsv(332, 100%, 79%)
HWBhwb(332 0% 21%)
CMYKcmyk(0%, 100%, 54%, 21%)
CIELAB (D50)lab(43.95 69.99 9.1)
LCHlch(43.95 70.58 7.41)
OKLaboklab(0.5394 0.2158 0.0196)
OKLCHoklch(0.5394 0.2167 5.2)
Decimal13238365

Properties

Color ToneRed, Pink
Closest named colormediumvioletred ΔE 6.1
Closest web-safe color#cc0066
Hue332°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)40%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)28% / 19%
Relative luminance (WCAG)0.1335
Red / Green / Blue202 / 0 / 93

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.72:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.67: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 76 / -25.8 · As background with white / black text: Lc -81.3 / 28.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: #ca005d;
  --color-brand-oklch: oklch(53.94% 0.2167 5.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(202 0 93 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ca005d] text-[#ca005d] border-[#ca005d]">