#CA2F7E#CA2F7E
#CA2F7E is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.1% C 0.201 H 354.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2F7E |
|---|---|
| RGB | rgb(202, 47, 126) |
| HSL | hsl(329, 62%, 49%) |
| HSV | hsv(329, 77%, 79%) |
| CMYK | cmyk(0%, 76.7%, 37.6%, 20.8%) |
| CIE-LAB | lab(47.10, 65.15, -7.31) |
| CIE-LCH | lch(47.10, 65.56, 353.60°) |
| OKLab | oklab(57.05% 0.2002 -0.0185) |
| OKLCH | oklch(57.05% 0.201 354.7) |
| XYZ | xyz(29.1415, 16.0996, 21.3076) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.94
Magenta (survey)
#C20078
ΔE00 4.72
Deep Pink
#CB0162
ΔE00 6.32
Dark Hot Pink
#D90166
ΔE00 6.44
Darkish Pink
#DA467D
ΔE00 6.91
Dark Pink
#CB416B
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2F7E #2FCA7B
analogous
#C92FCA #CA2F7E #CA2F31
triadic
#CA2F7E #7ECA2F #2F7ECA
tetradic
#CA2F7E #CAC92F #2FCA7B #2F31CA
square
#CA2F7E #CAC92F #2FCA7B #2F31CA
split-complementary
#CA2F7E #31CA2F #2FCAC9
monochromatic
#671840 #98235F #CA2F7E #D95D9C #E58FBB
Accessibility & contrast
On white
4.98
#CA2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#CA2F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2F7E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2F7E | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#7A7A7B
Tritanopia (blue-blind)
#DA1B53
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ca2f7e; /* rgb */ color: rgb(202, 47, 126); /* oklch */ color: oklch(57.1% 0.201 354.7);
Tailwind
colors: {
custom: {
50: '#df77a3',
500: '#ca2f7e',
950: '#000000',
},
}SCSS
$custom: #ca2f7e; $custom-light: #df77a3; $custom-dark: #000000;
JSON
{
"hex": "#ca2f7e",
"rgb": {
"r": 202,
"g": 47,
"b": 126
},
"hsl": {
"h": 329.419,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.57054,
"c": 0.20102,
"h": 354.7
},
"luminance": 0.16096
}Semantic roles & 50–950 ramp
primary
#CA2F7E
secondary
#86CFAA
accent
#E59242
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F