#CA4BA6#CA4BA6
#CA4BA6 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.189 H 340.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CA4BA6 |
|---|---|
| RGB | rgb(202, 75, 166) |
| HSL | hsl(317, 55%, 54%) |
| HSV | hsv(317, 63%, 79%) |
| CMYK | cmyk(0%, 62.9%, 17.8%, 20.8%) |
| CIE-LAB | lab(52.22, 60.02, -23.45) |
| CIE-LCH | lch(52.22, 64.43, 338.66°) |
| OKLab | oklab(61.3% 0.1784 -0.063) |
| OKLCH | oklch(61.3% 0.189 340.5) |
| XYZ | xyz(33.7569, 20.3449, 38.2181) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.03
Pinky Purple
#C94CBE
ΔE00 4.68
Purpley Pink
#C83CB9
ΔE00 4.99
Purpleish Pink
#DF4EC8
ΔE00 6.41
Pale Magenta
#D767AD
ΔE00 7.16
Hot Magenta
#F504C9
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA4BA6 #4BCA6F
analogous
#AF4BCA #CA4BA6 #CA4B67
triadic
#CA4BA6 #A6CA4B #4BA6CA
tetradic
#CA4BA6 #CAAF4B #4BCA6F #4B67CA
square
#CA4BA6 #CAAF4B #4BCA6F #4B67CA
split-complementary
#CA4BA6 #67CA4B #4BCAAF
monochromatic
#772360 #A73185 #CA4BA6 #D87ABD #E6AAD5
Accessibility & contrast
On white
4.14
#CA4BA6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#CA4BA6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA4BA6
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA4BA6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA4BA6 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5370A9
Deuteranopia (green-blind)
#7984A3
Tritanopia (blue-blind)
#D54E72
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #ca4ba6; /* rgb */ color: rgb(202, 75, 166); /* oklch */ color: oklch(61.3% 0.189 340.5);
Tailwind
colors: {
custom: {
50: '#dd85c0',
500: '#ca4ba6',
950: '#000000',
},
}SCSS
$custom: #ca4ba6; $custom-light: #dd85c0; $custom-dark: #000000;
JSON
{
"hex": "#ca4ba6",
"rgb": {
"r": 202,
"g": 75,
"b": 166
},
"hsl": {
"h": 317.008,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.61295,
"c": 0.18918,
"h": 340.5
},
"luminance": 0.20342
}Semantic roles & 50–950 ramp
primary
#CA4BA6
secondary
#9DD3AD
accent
#DE744A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81