#CA406B#CA406B
#CA406B is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.176 H 5.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CA406B |
|---|---|
| RGB | rgb(202, 64, 107) |
| HSL | hsl(341, 57%, 52%) |
| HSV | hsv(341, 68%, 79%) |
| CMYK | cmyk(0%, 68.3%, 47%, 20.8%) |
| CIE-LAB | lab(48.62, 57.47, 6.48) |
| CIE-LCH | lch(48.62, 57.84, 6.44°) |
| OKLab | oklab(57.99% 0.1754 0.0172) |
| OKLCH | oklch(57.99% 0.176 5.6) |
| XYZ | xyz(28.8466, 17.2886, 15.7250) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 0.39
Deep Rose
#C74767
ΔE00 2.10
Cherry
#DE3163
ΔE00 4.37
Cerise
#DE0C62
ΔE00 4.57
Dark Hot Pink
#D90166
ΔE00 4.69
Darkish Pink
#DA467D
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA406B #40CA9F
analogous
#CA40B0 #CA406B #CA5A40
triadic
#CA406B #6BCA40 #406BCA
tetradic
#CA406B #B0CA40 #40CA9F #5A40CA
square
#CA406B #B0CA40 #40CA9F #5A40CA
split-complementary
#CA406B #40CA5A #40B0CA
monochromatic
#701F38 #A02C51 #CA406B #D77090 #E5A0B5
Accessibility & contrast
On white
4.71
#CA406B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#CA406B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA406B
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA406B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA406B | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F626C
Deuteranopia (green-blind)
#837E68
Tritanopia (blue-blind)
#DB2A51
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ca406b; /* rgb */ color: rgb(202, 64, 107); /* oklch */ color: oklch(58.0% 0.176 5.6);
Tailwind
colors: {
custom: {
50: '#e07e95',
500: '#ca406b',
950: '#000000',
},
}SCSS
$custom: #ca406b; $custom-light: #e07e95; $custom-dark: #000000;
JSON
{
"hex": "#ca406b",
"rgb": {
"r": 202,
"g": 64,
"b": 107
},
"hsl": {
"h": 341.304,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.57985,
"c": 0.17622,
"h": 5.6
},
"luminance": 0.17285
}Semantic roles & 50–950 ramp
primary
#CA406B
secondary
#95D1BE
accent
#E0B148
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E