#C13171#C13171
#C13171 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.187 H 358.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C13171 |
|---|---|
| RGB | rgb(193, 49, 113) |
| HSL | hsl(333, 60%, 47%) |
| HSV | hsv(333, 75%, 76%) |
| CMYK | cmyk(0%, 74.6%, 41.5%, 24.3%) |
| CIE-LAB | lab(45.26, 60.82, -2.26) |
| CIE-LCH | lch(45.26, 60.86, 357.87°) |
| OKLab | oklab(55.27% 0.1868 -0.0052) |
| OKLCH | oklch(55.27% 0.187 358.4) |
| XYZ | xyz(26.0732, 14.7297, 17.0897) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.28
Magenta (survey)
#C20078
ΔE00 4.87
Dark Hot Pink
#D90166
ΔE00 5.31
Mediumvioletred
#C71585
ΔE00 5.62
Dark Pink
#CB416B
ΔE00 5.71
Cerise
#DE0C62
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C13171 #31C181
analogous
#C131B9 #C13171 #C13931
triadic
#C13171 #71C131 #3171C1
tetradic
#C13171 #B9C131 #31C181 #3931C1
square
#C13171 #B9C131 #31C181 #3931C1
split-complementary
#C13171 #31C139 #31B9C1
monochromatic
#5F1838 #902554 #C13171 #D55A91 #E28BB1
Accessibility & contrast
On white
5.32
#C13171 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#C13171 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C13171
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C13171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C13171 | 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)
#505A73
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#D11B4D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c13171; /* rgb */ color: rgb(193, 49, 113); /* oklch */ color: oklch(55.3% 0.187 358.4);
Tailwind
colors: {
custom: {
50: '#d97699',
500: '#c13171',
950: '#000000',
},
}SCSS
$custom: #c13171; $custom-light: #d97699; $custom-dark: #000000;
JSON
{
"hex": "#c13171",
"rgb": {
"r": 193,
"g": 49,
"b": 113
},
"hsl": {
"h": 333.333,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.55265,
"c": 0.18685,
"h": 358.4
},
"luminance": 0.14726
}Semantic roles & 50–950 ramp
primary
#C13171
secondary
#82CCAB
accent
#E39D45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E