#C1398B#C1398B
#C1398B is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.9% C 0.190 H 347.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C1398B |
|---|---|
| RGB | rgb(193, 57, 139) |
| HSL | hsl(324, 54%, 49%) |
| HSV | hsv(324, 70%, 76%) |
| CMYK | cmyk(0%, 70.5%, 28%, 24.3%) |
| CIE-LAB | lab(47.15, 60.98, -15.29) |
| CIE-LCH | lch(47.15, 62.86, 345.92°) |
| OKLab | oklab(56.94% 0.1853 -0.0403) |
| OKLCH | oklch(56.94% 0.19 347.7) |
| XYZ | xyz(28.1169, 16.1308, 26.0539) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.45
Magenta (survey)
#C20078
ΔE00 5.56
Light Plum
#9D5783
ΔE00 8.26
Ugly Purple
#A442A0
ΔE00 8.45
Purpley Pink
#C83CB9
ΔE00 8.64
Purpleish
#98568D
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1398B #39C16F
analogous
#B339C1 #C1398B #C13947
triadic
#C1398B #8BC139 #398BC1
tetradic
#C1398B #C1B339 #39C16F #3947C1
square
#C1398B #C1B339 #39C16F #3947C1
split-complementary
#C1398B #47C139 #39C1B3
monochromatic
#631D47 #922B69 #C1398B #D266A7 #E095C2
Accessibility & contrast
On white
4.97
#C1398B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#C1398B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C1398B
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1398B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C1398B | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#737888
Tritanopia (blue-blind)
#CE345D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c1398b; /* rgb */ color: rgb(193, 57, 139); /* oklch */ color: oklch(56.9% 0.190 347.7);
Tailwind
colors: {
custom: {
50: '#d87aad',
500: '#c1398b',
950: '#000000',
},
}SCSS
$custom: #c1398b; $custom-light: #d87aad; $custom-dark: #000000;
JSON
{
"hex": "#c1398b",
"rgb": {
"r": 193,
"g": 57,
"b": 139
},
"hsl": {
"h": 323.824,
"s": 54.4,
"l": 49.02
},
"oklch": {
"l": 0.56941,
"c": 0.18965,
"h": 347.7
},
"luminance": 0.16128
}Semantic roles & 50–950 ramp
primary
#C1398B
secondary
#8BCBA4
accent
#DE854A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F