#C13172#C13172
#C13172 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.187 H 358.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C13172 |
|---|---|
| RGB | rgb(193, 49, 114) |
| HSL | hsl(333, 60%, 47%) |
| HSV | hsv(333, 75%, 76%) |
| CMYK | cmyk(0%, 74.6%, 40.9%, 24.3%) |
| CIE-LAB | lab(45.29, 60.92, -2.83) |
| CIE-LCH | lch(45.29, 60.99, 357.34°) |
| OKLab | oklab(55.3% 0.1871 -0.0067) |
| OKLCH | oklch(55.3% 0.187 358) |
| XYZ | xyz(26.1298, 14.7523, 17.3878) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.47
Magenta (survey)
#C20078
ΔE00 4.70
Mediumvioletred
#C71585
ΔE00 5.39
Dark Hot Pink
#D90166
ΔE00 5.48
Dark Pink
#CB416B
ΔE00 5.89
Cerise
#DE0C62
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C13172 #31C180
analogous
#C131BA #C13172 #C13831
triadic
#C13172 #72C131 #3172C1
tetradic
#C13172 #BAC131 #31C180 #3831C1
square
#C13172 #BAC131 #31C180 #3831C1
split-complementary
#C13172 #31C138 #31BAC1
monochromatic
#5F1838 #902555 #C13172 #D55A92 #E28BB2
Accessibility & contrast
On white
5.32
#C13172 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#C13172 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C13172
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C13172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C13172 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5A74
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#D11C4D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c13172; /* rgb */ color: rgb(193, 49, 114); /* oklch */ color: oklch(55.3% 0.187 358.0);
Tailwind
colors: {
custom: {
50: '#d9769a',
500: '#c13172',
950: '#000000',
},
}SCSS
$custom: #c13172; $custom-light: #d9769a; $custom-dark: #000000;
JSON
{
"hex": "#c13172",
"rgb": {
"r": 193,
"g": 49,
"b": 114
},
"hsl": {
"h": 332.917,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.55298,
"c": 0.18721,
"h": 358
},
"luminance": 0.14749
}Semantic roles & 50–950 ramp
primary
#C13172
secondary
#82CCAA
accent
#E39C45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E