#CA2758#CA2758
#CA2758 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.197 H 9.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2758 |
|---|---|
| RGB | rgb(202, 39, 88) |
| HSL | hsl(342, 68%, 47%) |
| HSV | hsv(342, 81%, 79%) |
| CMYK | cmyk(0%, 80.7%, 56.4%, 20.8%) |
| CIE-LAB | lab(45.24, 64.08, 13.42) |
| CIE-LCH | lch(45.24, 65.47, 11.83°) |
| OKLab | oklab(55.34% 0.1945 0.0338) |
| OKLCH | oklch(55.34% 0.197 9.9) |
| XYZ | xyz(26.8468, 14.7161, 10.6575) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 3.48
Cerise
#DE0C62
ΔE00 3.84
Ruby
#CA0147
ΔE00 3.96
Dark Hot Pink
#D90166
ΔE00 4.34
Raspberry
#E30B5C
ΔE00 4.34
Deep Pink
#CB0162
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2758 #27CA99
analogous
#CA27AA #CA2758 #CA4727
triadic
#CA2758 #58CA27 #2758CA
tetradic
#CA2758 #AACA27 #27CA99 #4727CA
square
#CA2758 #AACA27 #27CA99 #4727CA
split-complementary
#CA2758 #27CA47 #27AACA
monochromatic
#63132B #971D42 #CA2758 #DD517B #E784A2
Accessibility & contrast
On white
5.33
#CA2758 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#CA2758 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2758
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2758 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2758 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555659
Deuteranopia (green-blind)
#7F7754
Tritanopia (blue-blind)
#DD003D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ca2758; /* rgb */ color: rgb(202, 39, 88); /* oklch */ color: oklch(55.3% 0.197 9.9);
Tailwind
colors: {
custom: {
50: '#e17386',
500: '#ca2758',
950: '#000000',
},
}SCSS
$custom: #ca2758; $custom-light: #e17386; $custom-dark: #000000;
JSON
{
"hex": "#ca2758",
"rgb": {
"r": 202,
"g": 39,
"b": 88
},
"hsl": {
"h": 341.963,
"s": 67.635,
"l": 47.255
},
"oklch": {
"l": 0.55336,
"c": 0.1974,
"h": 9.9
},
"luminance": 0.14712
}Semantic roles & 50–950 ramp
primary
#CA2758
secondary
#7CD0B7
accent
#EBB63D
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#17090B
muted
#857B7C