#CB4792

A color in the Purple, Crimson, Magenta family

#cb4792 is a color in the Purple, Crimson, Magenta family: RGB(203, 71, 146), HSL(326°, 56%, 54%), CMYK(0%, 65%, 28%, 20%). Closest named color: mediumvioletred. Contrast is 4.32:1 on white and 4.86:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cb4792
RGBrgb(203 71 146)
RGB (legacy)rgb(203, 71, 146)
RGB %rgb(80% 28% 57%)
HSLhsl(326 56% 54%)
HSV / HSBhsv(326, 65%, 80%)
HWBhwb(326 28% 20%)
CMYKcmyk(0%, 65%, 28%, 20%)
CIELAB (D50)lab(51.32 58.07 -12.6)
LCHlch(51.32 59.42 347.76)
OKLaboklab(0.6018 0.1798 -0.0353)
OKLCHoklch(0.6018 0.1833 348.91)
Decimal13322130

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.2
Closest web-safe color#cc3399
Hue326°
Saturation (HSL / HSV)56% / 65%
Lightness (HSL)54%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)47% / 41%
Relative luminance (WCAG)0.1928
Red / Green / Blue203 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.86: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 69.1 / -32.6 · As background with white / black text: Lc -74.6 / 35

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: #cb4792;
  --color-brand-oklch: oklch(60.18% 0.1833 348.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(203 71 146 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cb4792] text-[#cb4792] border-[#cb4792]">