#C61BA3

A color in the Purple, Crimson, Magenta family

#c61ba3 is a color in the Purple, Crimson, Magenta family: RGB(198, 27, 163), HSL(312°, 76%, 44%), CMYK(0%, 86%, 18%, 22%). Closest named color: mediumvioletred. Contrast is 5.14:1 on white and 4.09:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c61ba3
RGBrgb(198 27 163)
RGB (legacy)rgb(198, 27, 163)
RGB %rgb(78% 11% 64%)
HSLhsl(312 76% 44%)
HSV / HSBhsv(312, 86%, 78%)
HWBhwb(312 11% 22%)
CMYKcmyk(0%, 86%, 18%, 22%)
CIELAB (D50)lab(46.41 70.89 -30.3)
LCHlch(46.41 77.09 336.85)
OKLaboklab(0.5678 0.2185 -0.0843)
OKLCHoklch(0.5678 0.2342 338.91)
Decimal12983203

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 4.7
Closest web-safe color#cc3399
Hue312°
Saturation (HSL / HSV)76% / 86%
Lightness (HSL)44%
Brightness or Value (HSV)78%
Luminance (Rec.601 / Rec.709)37% / 29%
Relative luminance (WCAG)0.1543
Red / Green / Blue198 / 27 / 163

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.14: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 73.6 / -28.1 · As background with white / black text: Lc -79 / 30.5

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: #c61ba3;
  --color-brand-oklch: oklch(56.78% 0.2342 338.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(198 27 163 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c61ba3] text-[#c61ba3] border-[#c61ba3]">