#CF4792

A color in the Purple, Crimson, Magenta family

#cf4792 is a color in the Purple, Crimson, Magenta family: RGB(207, 71, 146), HSL(327°, 59%, 55%), CMYK(0%, 66%, 29%, 19%). Closest named color: mediumvioletred. Contrast is 4.23:1 on white and 4.97:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cf4792
RGBrgb(207 71 146)
RGB (legacy)rgb(207, 71, 146)
RGB %rgb(81% 28% 57%)
HSLhsl(327 59% 55%)
HSV / HSBhsv(327, 66%, 81%)
HWBhwb(327 28% 19%)
CMYKcmyk(0%, 66%, 29%, 19%)
CIELAB (D50)lab(52 59.26 -11.5)
LCHlch(52 60.37 349.02)
OKLaboklab(0.6079 0.1837 -0.0324)
OKLCHoklch(0.6079 0.1865 350.01)
Decimal13584274

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 6.5
Closest web-safe color#cc3399
Hue327°
Saturation (HSL / HSV)59% / 66%
Lightness (HSL)55%
Brightness or Value (HSV)81%
Luminance (Rec.601 / Rec.709)47% / 41%
Relative luminance (WCAG)0.1985
Red / Green / Blue207 / 71 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.97: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 68.3 / -33.4 · As background with white / black text: Lc -73.8 / 35.8

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