#CB00A6

A color in the Purple, Crimson, Magenta family

#cb00a6 is a color in the Purple, Crimson, Magenta family: RGB(203, 0, 166), HSL(311°, 100%, 40%), CMYK(0%, 100%, 18%, 20%). Closest named color: mediumvioletred. Contrast is 5.13:1 on white and 4.09:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cb00a6
RGBrgb(203 0 166)
RGB (legacy)rgb(203, 0, 166)
RGB %rgb(80% 0% 65%)
HSLhsl(311 100% 40%)
HSV / HSBhsv(311, 100%, 80%)
HWBhwb(311 0% 20%)
CMYKcmyk(0%, 100%, 18%, 20%)
CIELAB (D50)lab(46.44 75.19 -31.94)
LCHlch(46.44 81.69 336.98)
OKLaboklab(0.5701 0.2323 -0.0889)
OKLCHoklch(0.5701 0.2487 339.05)
Decimal13303974

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 5.4
Closest web-safe color#cc0099
Hue311°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)40%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)31% / 22%
Relative luminance (WCAG)0.1545
Red / Green / Blue203 / 0 / 166

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.13:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.09: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.8 / -28.9 · As background with white / black text: Lc -78.3 / 31.3

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: #cb00a6;
  --color-brand-oklch: oklch(57.01% 0.2487 339.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(203 0 166 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cb00a6] text-[#cb00a6] border-[#cb00a6]">