#CA00A8

A color in the Purple, Crimson, Magenta family

#ca00a8 is a color in the Purple, Crimson, Magenta family: RGB(202, 0, 168), HSL(310°, 100%, 40%), CMYK(0%, 100%, 17%, 21%). Closest named color: mediumvioletred. Contrast is 5.15:1 on white and 4.08:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ca00a8
RGBrgb(202 0 168)
RGB (legacy)rgb(202, 0, 168)
RGB %rgb(79% 0% 66%)
HSLhsl(310 100% 40%)
HSV / HSBhsv(310, 100%, 79%)
HWBhwb(310 0% 21%)
CMYKcmyk(0%, 100%, 17%, 21%)
CIELAB (D50)lab(46.33 75.16 -33.33)
LCHlch(46.33 82.22 336.09)
OKLaboklab(0.5694 0.2316 -0.0928)
OKLCHoklch(0.5694 0.2495 338.16)
Decimal13238440

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 5.7
Closest web-safe color#cc0099
Hue310°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)40%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)31% / 22%
Relative luminance (WCAG)0.1538
Red / Green / Blue202 / 0 / 168

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.08: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 72.9 / -28.8 · As background with white / black text: Lc -78.4 / 31.2

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: #ca00a8;
  --color-brand-oklch: oklch(56.94% 0.2495 338.16);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(202 0 168 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ca00a8] text-[#ca00a8] border-[#ca00a8]">