#CA2F8B#CA2F8B
#CA2F8B is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.5% C 0.207 H 349.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2F8B |
|---|---|
| RGB | rgb(202, 47, 139) |
| HSL | hsl(324, 62%, 49%) |
| HSV | hsv(324, 77%, 79%) |
| CMYK | cmyk(0%, 76.7%, 31.2%, 20.8%) |
| CIE-LAB | lab(47.57, 66.56, -14.50) |
| CIE-LCH | lch(47.57, 68.13, 347.71°) |
| OKLab | oklab(57.54% 0.2035 -0.0379) |
| OKLCH | oklch(57.54% 0.207 349.4) |
| XYZ | xyz(30.0355, 16.4572, 26.0159) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.91
Magenta (survey)
#C20078
ΔE00 5.20
Darkish Pink
#DA467D
ΔE00 8.61
Purpley Pink
#C83CB9
ΔE00 8.89
Deep Pink
#CB0162
ΔE00 8.94
Dark Hot Pink
#D90166
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2F8B #2FCA6E
analogous
#BC2FCA #CA2F8B #CA2F3E
triadic
#CA2F8B #8BCA2F #2F8BCA
tetradic
#CA2F8B #CABC2F #2FCA6E #2F3ECA
square
#CA2F8B #CABC2F #2FCA6E #2F3ECA
split-complementary
#CA2F8B #3ECA2F #2FCABC
monochromatic
#671847 #982369 #CA2F8B #D95DA7 #E58FC2
Accessibility & contrast
On white
4.89
#CA2F8B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#CA2F8B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2F8B
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2F8B | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#767B88
Tritanopia (blue-blind)
#D92559
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ca2f8b; /* rgb */ color: rgb(202, 47, 139); /* oklch */ color: oklch(57.5% 0.207 349.4);
Tailwind
colors: {
custom: {
50: '#df77ad',
500: '#ca2f8b',
950: '#000000',
},
}SCSS
$custom: #ca2f8b; $custom-light: #df77ad; $custom-dark: #000000;
JSON
{
"hex": "#ca2f8b",
"rgb": {
"r": 202,
"g": 47,
"b": 139
},
"hsl": {
"h": 324.387,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.57544,
"c": 0.20704,
"h": 349.4
},
"luminance": 0.16454
}Semantic roles & 50–950 ramp
primary
#CA2F8B
secondary
#86CFA4
accent
#E58542
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F