#C8317F

A color in the Purple, Crimson, Magenta family

#c8317f is a color in the Purple, Crimson, Magenta family: RGB(200, 49, 127), HSL(329°, 61%, 49%), CMYK(0%, 76%, 37%, 22%). Closest named color: mediumvioletred. Contrast is 5:1 on white and 4.2:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c8317f
RGBrgb(200 49 127)
RGB (legacy)rgb(200, 49, 127)
RGB %rgb(78% 19% 50%)
HSLhsl(329 61% 49%)
HSV / HSBhsv(329, 76%, 78%)
HWBhwb(329 19% 22%)
CMYKcmyk(0%, 76%, 37%, 22%)
CIELAB (D50)lab(47.42 63.2 -7.04)
LCHlch(47.42 63.59 353.64)
OKLaboklab(0.5691 0.1969 -0.0207)
OKLCHoklch(0.5691 0.1979 354)
Decimal13119871

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumvioletred ΔE 3.3
Closest web-safe color#cc3366
Hue329°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)49%
Brightness or Value (HSV)78%
Luminance (Rec.601 / Rec.709)40% / 34%
Relative luminance (WCAG)0.1601
Red / Green / Blue200 / 49 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.20: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.2 / -28.4 · As background with white / black text: Lc -78.7 / 30.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: #c8317f;
  --color-brand-oklch: oklch(56.91% 0.1979 354);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(200 49 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c8317f] text-[#c8317f] border-[#c8317f]">