#CA3170#CA3170
#CA3170 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.194 H 0.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CA3170 |
|---|---|
| RGB | rgb(202, 49, 112) |
| HSL | hsl(335, 61%, 49%) |
| HSV | hsv(335, 76%, 79%) |
| CMYK | cmyk(0%, 75.7%, 44.6%, 20.8%) |
| CIE-LAB | lab(46.88, 63.17, 0.92) |
| CIE-LCH | lch(46.88, 63.18, 0.83°) |
| OKLab | oklab(56.74% 0.1939 0.0031) |
| OKLCH | oklch(56.74% 0.194 0.9) |
| XYZ | xyz(28.3823, 15.9268, 16.9057) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 3.70
Dark Pink
#CB416B
ΔE00 3.90
Deep Pink
#CB0162
ΔE00 3.98
Cerise
#DE0C62
ΔE00 5.18
Deep Rose
#C74767
ΔE00 5.58
Darkish Pink
#DA467D
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA3170 #31CA8B
analogous
#CA31BD #CA3170 #CA3F31
triadic
#CA3170 #70CA31 #3170CA
tetradic
#CA3170 #BDCA31 #31CA8B #3F31CA
square
#CA3170 #BDCA31 #31CA8B #3F31CA
split-complementary
#CA3170 #31CA3F #31BDCA
monochromatic
#671939 #992555 #CA3170 #D86091 #E491B3
Accessibility & contrast
On white
5.02
#CA3170 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#CA3170 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA3170
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA3170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA3170 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545C71
Deuteranopia (green-blind)
#7D7A6C
Tritanopia (blue-blind)
#DB124D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ca3170; /* rgb */ color: rgb(202, 49, 112); /* oklch */ color: oklch(56.7% 0.194 0.9);
Tailwind
colors: {
custom: {
50: '#e07798',
500: '#ca3170',
950: '#000000',
},
}SCSS
$custom: #ca3170; $custom-light: #e07798; $custom-dark: #000000;
JSON
{
"hex": "#ca3170",
"rgb": {
"r": 202,
"g": 49,
"b": 112
},
"hsl": {
"h": 335.294,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.56744,
"c": 0.19393,
"h": 0.9
},
"luminance": 0.15923
}Semantic roles & 50–950 ramp
primary
#CA3170
secondary
#88CFB2
accent
#E4A244
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E