#C5259A

A color in the Purple, Crimson, Magenta family

#c5259a is a color in the Purple, Crimson, Magenta family: RGB(197, 37, 154), HSL(316°, 68%, 46%), CMYK(0%, 81%, 22%, 23%). Closest named color: mediumvioletred. Contrast is 5.12:1 on white and 4.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c5259a
RGBrgb(197 37 154)
RGB (legacy)rgb(197, 37, 154)
RGB %rgb(77% 15% 60%)
HSLhsl(316 68% 46%)
HSV / HSBhsv(316, 81%, 77%)
HWBhwb(316 15% 23%)
CMYKcmyk(0%, 81%, 22%, 23%)
CIELAB (D50)lab(46.59 67.82 -24.66)
LCHlch(46.59 72.17 340.02)
OKLaboklab(0.567 0.2103 -0.0685)
OKLCHoklch(0.567 0.2212 341.95)
Decimal12920218

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 3.3
Closest web-safe color#cc3399
Hue316°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)46%
Brightness or Value (HSV)77%
Luminance (Rec.601 / Rec.709)39% / 31%
Relative luminance (WCAG)0.1553
Red / Green / Blue197 / 37 / 154

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.12:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.11: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.7 / -28 · As background with white / black text: Lc -79.1 / 30.4

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: #c5259a;
  --color-brand-oklch: oklch(56.7% 0.2212 341.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(197 37 154 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c5259a] text-[#c5259a] border-[#c5259a]">