#CA2B7F#CA2B7F
#CA2B7F is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.8% C 0.205 H 354.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2B7F |
|---|---|
| RGB | rgb(202, 43, 127) |
| HSL | hsl(328, 65%, 48%) |
| HSV | hsv(328, 79%, 79%) |
| CMYK | cmyk(0%, 78.7%, 37.1%, 20.8%) |
| CIE-LAB | lab(46.74, 66.39, -8.47) |
| CIE-LCH | lch(46.74, 66.93, 352.73°) |
| OKLab | oklab(56.8% 0.2041 -0.0216) |
| OKLCH | oklch(56.8% 0.205 354) |
| XYZ | xyz(29.0537, 15.8203, 21.5982) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.30
Magenta (survey)
#C20078
ΔE00 4.20
Deep Pink
#CB0162
ΔE00 6.46
Dark Hot Pink
#D90166
ΔE00 6.74
Darkish Pink
#DA467D
ΔE00 7.50
Dark Pink
#CB416B
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2B7F #2BCA76
analogous
#C52BCA #CA2B7F #CA2B2F
triadic
#CA2B7F #7FCA2B #2B7FCA
tetradic
#CA2B7F #CAC52B #2BCA76 #2B2FCA
square
#CA2B7F #CAC52B #2BCA76 #2B2FCA
split-complementary
#CA2B7F #2FCA2B #2BCAC5
monochromatic
#651640 #98205F #CA2B7F #DB579D #E689BA
Accessibility & contrast
On white
5.04
#CA2B7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#CA2B7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2B7F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2B7F | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#78797B
Tritanopia (blue-blind)
#DA1552
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ca2b7f; /* rgb */ color: rgb(202, 43, 127); /* oklch */ color: oklch(56.8% 0.205 354.0);
Tailwind
colors: {
custom: {
50: '#df75a4',
500: '#ca2b7f',
950: '#000000',
},
}SCSS
$custom: #ca2b7f; $custom-light: #df75a4; $custom-dark: #000000;
JSON
{
"hex": "#ca2b7f",
"rgb": {
"r": 202,
"g": 43,
"b": 127
},
"hsl": {
"h": 328.302,
"s": 64.898,
"l": 48.039
},
"oklch": {
"l": 0.56797,
"c": 0.20522,
"h": 354
},
"luminance": 0.15817
}Semantic roles & 50–950 ramp
primary
#CA2B7F
secondary
#81D0A6
accent
#E88F40
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F