#CB288D

A color in the Purple, Crimson, Magenta family

#cb288d is a color in the Purple, Crimson, Magenta family: RGB(203, 40, 141), HSL(323°, 67%, 48%), CMYK(0%, 80%, 31%, 20%). Closest named color: mediumvioletred. Contrast is 4.97:1 on white and 4.23:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cb288d
RGBrgb(203 40 141)
RGB (legacy)rgb(203, 40, 141)
RGB %rgb(80% 16% 55%)
HSLhsl(323 67% 48%)
HSV / HSBhsv(323, 80%, 80%)
HWBhwb(323 16% 20%)
CMYKcmyk(0%, 80%, 31%, 20%)
CIELAB (D50)lab(47.52 67.49 -15.3)
LCHlch(47.52 69.2 347.23)
OKLaboklab(0.573 0.2108 -0.0429)
OKLCHoklch(0.573 0.2151 348.5)
Decimal13314189

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 2.1
Closest web-safe color#cc3399
Hue323°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)48%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)39% / 32%
Relative luminance (WCAG)0.1614
Red / Green / Blue203 / 40 / 141

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.97:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.23: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: #cb288d;
  --color-brand-oklch: oklch(57.3% 0.2151 348.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(203 40 141 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cb288d] text-[#cb288d] border-[#cb288d]">