#CA2F82#CA2F82
#CA2F82 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.2% C 0.203 H 353.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2F82 |
|---|---|
| RGB | rgb(202, 47, 130) |
| HSL | hsl(328, 62%, 49%) |
| HSV | hsv(328, 77%, 79%) |
| CMYK | cmyk(0%, 76.7%, 35.6%, 20.8%) |
| CIE-LAB | lab(47.24, 65.57, -9.54) |
| CIE-LCH | lch(47.24, 66.26, 351.72°) |
| OKLab | oklab(57.2% 0.2013 -0.0245) |
| OKLCH | oklch(57.2% 0.203 353.1) |
| XYZ | xyz(29.4048, 16.2049, 22.6942) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.38
Magenta (survey)
#C20078
ΔE00 4.67
Deep Pink
#CB0162
ΔE00 7.13
Dark Hot Pink
#D90166
ΔE00 7.27
Darkish Pink
#DA467D
ΔE00 7.37
Dark Pink
#CB416B
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2F82 #2FCA77
analogous
#C52FCA #CA2F82 #CA2F35
triadic
#CA2F82 #82CA2F #2F82CA
tetradic
#CA2F82 #CAC52F #2FCA77 #2F35CA
square
#CA2F82 #CAC52F #2FCA77 #2F35CA
split-complementary
#CA2F82 #35CA2F #2FCAC5
monochromatic
#671842 #982362 #CA2F82 #D95DA0 #E58FBD
Accessibility & contrast
On white
4.95
#CA2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#CA2F82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2F82
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2F82 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#797A7F
Tritanopia (blue-blind)
#DA1E55
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ca2f82; /* rgb */ color: rgb(202, 47, 130); /* oklch */ color: oklch(57.2% 0.203 353.1);
Tailwind
colors: {
custom: {
50: '#df77a6',
500: '#ca2f82',
950: '#000000',
},
}SCSS
$custom: #ca2f82; $custom-light: #df77a6; $custom-dark: #000000;
JSON
{
"hex": "#ca2f82",
"rgb": {
"r": 202,
"g": 47,
"b": 130
},
"hsl": {
"h": 327.871,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.57199,
"c": 0.20276,
"h": 353.1
},
"luminance": 0.16201
}Semantic roles & 50–950 ramp
primary
#CA2F82
secondary
#86CFA8
accent
#E58E42
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F