#CA2F7F#CA2F7F
#CA2F7F is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.1% C 0.201 H 354.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2F7F |
|---|---|
| RGB | rgb(202, 47, 127) |
| HSL | hsl(329, 62%, 49%) |
| HSV | hsv(329, 77%, 79%) |
| CMYK | cmyk(0%, 76.7%, 37.1%, 20.8%) |
| CIE-LAB | lab(47.14, 65.25, -7.87) |
| CIE-LCH | lch(47.14, 65.73, 353.12°) |
| OKLab | oklab(57.09% 0.2005 -0.02) |
| OKLCH | oklch(57.09% 0.201 354.3) |
| XYZ | xyz(29.2063, 16.1255, 21.6491) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.78
Magenta (survey)
#C20078
ΔE00 4.69
Deep Pink
#CB0162
ΔE00 6.52
Dark Hot Pink
#D90166
ΔE00 6.64
Darkish Pink
#DA467D
ΔE00 7.02
Dark Pink
#CB416B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2F7F #2FCA7A
analogous
#C82FCA #CA2F7F #CA2F32
triadic
#CA2F7F #7FCA2F #2F7FCA
tetradic
#CA2F7F #CAC82F #2FCA7A #2F32CA
square
#CA2F7F #CAC82F #2FCA7A #2F32CA
split-complementary
#CA2F7F #32CA2F #2FCAC8
monochromatic
#671841 #982360 #CA2F7F #D95D9D #E58FBB
Accessibility & contrast
On white
4.97
#CA2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#CA2F7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2F7F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2F7F | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5E81
Deuteranopia (green-blind)
#7A7A7C
Tritanopia (blue-blind)
#DA1C53
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ca2f7f; /* rgb */ color: rgb(202, 47, 127); /* oklch */ color: oklch(57.1% 0.201 354.3);
Tailwind
colors: {
custom: {
50: '#df77a4',
500: '#ca2f7f',
950: '#000000',
},
}SCSS
$custom: #ca2f7f; $custom-light: #df77a4; $custom-dark: #000000;
JSON
{
"hex": "#ca2f7f",
"rgb": {
"r": 202,
"g": 47,
"b": 127
},
"hsl": {
"h": 329.032,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.5709,
"c": 0.20144,
"h": 354.3
},
"luminance": 0.16122
}Semantic roles & 50–950 ramp
primary
#CA2F7F
secondary
#86CFA9
accent
#E59142
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F