#C0317A#C0317A
#C0317A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.190 H 354.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C0317A |
|---|---|
| RGB | rgb(192, 49, 122) |
| HSL | hsl(329, 59%, 47%) |
| HSV | hsv(329, 74%, 75%) |
| CMYK | cmyk(0%, 74.5%, 36.5%, 24.7%) |
| CIE-LAB | lab(45.37, 61.48, -7.64) |
| CIE-LCH | lch(45.37, 61.96, 352.91°) |
| OKLab | oklab(55.41% 0.1887 -0.0194) |
| OKLCH | oklch(55.41% 0.19 354.1) |
| XYZ | xyz(26.3511, 14.8114, 19.8798) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.60
Magenta (survey)
#C20078
ΔE00 3.68
Deep Pink
#CB0162
ΔE00 6.16
Dark Hot Pink
#D90166
ΔE00 7.12
Dark Pink
#CB416B
ΔE00 7.60
Darkish Pink
#DA467D
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0317A #31C077
analogous
#BF31C0 #C0317A #C03132
triadic
#C0317A #7AC031 #317AC0
tetradic
#C0317A #C0BF31 #31C077 #3132C0
square
#C0317A #C0BF31 #31C077 #3132C0
split-complementary
#C0317A #32C031 #31C0BF
monochromatic
#5E183C #8F255B #C0317A #D55998 #E18AB7
Accessibility & contrast
On white
5.30
#C0317A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#C0317A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C0317A
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0317A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C0317A | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5B7C
Deuteranopia (green-blind)
#747577
Tritanopia (blue-blind)
#CF2251
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c0317a; /* rgb */ color: rgb(192, 49, 122); /* oklch */ color: oklch(55.4% 0.190 354.1);
Tailwind
colors: {
custom: {
50: '#d876a0',
500: '#c0317a',
950: '#000000',
},
}SCSS
$custom: #c0317a; $custom-light: #d876a0; $custom-dark: #000000;
JSON
{
"hex": "#c0317a",
"rgb": {
"r": 192,
"g": 49,
"b": 122
},
"hsl": {
"h": 329.371,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.55411,
"c": 0.18965,
"h": 354.1
},
"luminance": 0.14808
}Semantic roles & 50–950 ramp
primary
#C0317A
secondary
#82CBA6
accent
#E39245
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E