#CA427B#CA427B
#CA427B is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.178 H 358.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CA427B |
|---|---|
| RGB | rgb(202, 66, 123) |
| HSL | hsl(335, 56%, 53%) |
| HSV | hsv(335, 67%, 79%) |
| CMYK | cmyk(0%, 67.3%, 39.1%, 20.8%) |
| CIE-LAB | lab(49.36, 58.27, -2.15) |
| CIE-LCH | lch(49.36, 58.31, 357.88°) |
| OKLab | oklab(58.68% 0.1784 -0.0049) |
| OKLCH | oklch(58.68% 0.179 358.4) |
| XYZ | xyz(29.8824, 17.8866, 20.6139) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.90
Dark Pink
#CB416B
ΔE00 4.34
Deep Rose
#C74767
ΔE00 5.91
Dark Hot Pink
#D90166
ΔE00 6.21
Deep Pink
#CB0162
ΔE00 7.10
Cerise
#DE0C62
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA427B #42CA91
analogous
#CA42BF #CA427B #CA4D42
triadic
#CA427B #7BCA42 #427BCA
tetradic
#CA427B #BFCA42 #42CA91 #4D42CA
square
#CA427B #BFCA42 #42CA91 #4D42CA
split-complementary
#CA427B #42CA4D #42BFCA
monochromatic
#722042 #A22D5E #CA427B #D7729C #E5A2BE
Accessibility & contrast
On white
4.59
#CA427B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#CA427B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #CA427B
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA427B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA427B | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C657D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#DA3359
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ca427b; /* rgb */ color: rgb(202, 66, 123); /* oklch */ color: oklch(58.7% 0.178 358.4);
Tailwind
colors: {
custom: {
50: '#df7fa1',
500: '#ca427b',
950: '#000000',
},
}SCSS
$custom: #ca427b; $custom-light: #df7fa1; $custom-dark: #000000;
JSON
{
"hex": "#ca427b",
"rgb": {
"r": 202,
"g": 66,
"b": 123
},
"hsl": {
"h": 334.853,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.58679,
"c": 0.1785,
"h": 358.4
},
"luminance": 0.17883
}Semantic roles & 50–950 ramp
primary
#CA427B
secondary
#96D1B9
accent
#DFA048
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E