#CA5172#CA5172
#CA5172 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.2% C 0.156 H 6.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CA5172 |
|---|---|
| RGB | rgb(202, 81, 114) |
| HSL | hsl(344, 53%, 55%) |
| HSV | hsv(344, 60%, 79%) |
| CMYK | cmyk(0%, 59.9%, 43.6%, 20.8%) |
| CIE-LAB | lab(51.45, 50.98, 6.30) |
| CIE-LCH | lch(51.45, 51.36, 7.04°) |
| OKLab | oklab(60.15% 0.1552 0.0167) |
| OKLCH | oklch(60.15% 0.156 6.2) |
| XYZ | xyz(30.3389, 19.6598, 18.1134) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 2.92
Dark Pink
#CB416B
ΔE00 3.13
Darkish Pink
#DA467D
ΔE00 4.05
Rose (survey)
#CF6275
ΔE00 4.92
Cherry
#DE3163
ΔE00 5.48
Blush
#DE5D83
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA5172 #51CAA9
analogous
#CA51AF #CA5172 #CA6C51
triadic
#CA5172 #72CA51 #5172CA
tetradic
#CA5172 #AFCA51 #51CAA9 #6C51CA
square
#CA5172 #AFCA51 #51CAA9 #6C51CA
split-complementary
#CA5172 #51CA6C #51AFCA
monochromatic
#7B253D #AA3454 #CA5172 #D88098 #E7AFBE
Accessibility & contrast
On white
4.26
#CA5172 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#CA5172 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA5172
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA5172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA5172 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696C73
Deuteranopia (green-blind)
#89836F
Tritanopia (blue-blind)
#DB425E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ca5172; /* rgb */ color: rgb(202, 81, 114); /* oklch */ color: oklch(60.2% 0.156 6.2);
Tailwind
colors: {
custom: {
50: '#df879a',
500: '#ca5172',
950: '#000000',
},
}SCSS
$custom: #ca5172; $custom-light: #df879a; $custom-dark: #000000;
JSON
{
"hex": "#ca5172",
"rgb": {
"r": 202,
"g": 81,
"b": 114
},
"hsl": {
"h": 343.636,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.60151,
"c": 0.15611,
"h": 6.2
},
"luminance": 0.19656
}Semantic roles & 50–950 ramp
primary
#CA5172
secondary
#A2D5C7
accent
#DDB54B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E