#C0317F#C0317F
#C0317F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.192 H 351.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C0317F |
|---|---|
| RGB | rgb(192, 49, 127) |
| HSL | hsl(327, 59%, 47%) |
| HSV | hsv(327, 74%, 75%) |
| CMYK | cmyk(0%, 74.5%, 33.9%, 24.7%) |
| CIE-LAB | lab(45.55, 62.03, -10.44) |
| CIE-LCH | lch(45.55, 62.91, 350.45°) |
| OKLab | oklab(55.6% 0.19 -0.027) |
| OKLCH | oklch(55.6% 0.192 351.9) |
| XYZ | xyz(26.6689, 14.9386, 21.5536) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.78
Magenta (survey)
#C20078
ΔE00 3.61
Deep Pink
#CB0162
ΔE00 7.20
Dark Hot Pink
#D90166
ΔE00 8.08
Dark Pink
#CB416B
ΔE00 8.59
Light Plum
#9D5783
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0317F #31C072
analogous
#BA31C0 #C0317F #C03137
triadic
#C0317F #7FC031 #317FC0
tetradic
#C0317F #C0BA31 #31C072 #3137C0
square
#C0317F #C0BA31 #31C072 #3137C0
split-complementary
#C0317F #37C031 #31C0BA
monochromatic
#5E183E #8F255F #C0317F #D5599D #E18ABA
Accessibility & contrast
On white
5.27
#C0317F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#C0317F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C0317F
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0317F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C0317F | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5B81
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#CF2554
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c0317f; /* rgb */ color: rgb(192, 49, 127); /* oklch */ color: oklch(55.6% 0.192 351.9);
Tailwind
colors: {
custom: {
50: '#d876a4',
500: '#c0317f',
950: '#000000',
},
}SCSS
$custom: #c0317f; $custom-light: #d876a4; $custom-dark: #000000;
JSON
{
"hex": "#c0317f",
"rgb": {
"r": 192,
"g": 49,
"b": 127
},
"hsl": {
"h": 327.273,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.55596,
"c": 0.19192,
"h": 351.9
},
"luminance": 0.14935
}Semantic roles & 50–950 ramp
primary
#C0317F
secondary
#82CBA3
accent
#E38D45
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F