#CA38A2#CA38A2
#CA38A2 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.2% C 0.211 H 341.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CA38A2 |
|---|---|
| RGB | rgb(202, 56, 162) |
| HSL | hsl(316, 58%, 51%) |
| HSV | hsv(316, 72%, 79%) |
| CMYK | cmyk(0%, 72.3%, 19.8%, 20.8%) |
| CIE-LAB | lab(49.49, 66.60, -25.31) |
| CIE-LCH | lch(49.49, 71.25, 339.19°) |
| OKLab | oklab(59.25% 0.1993 -0.0681) |
| OKLCH | oklch(59.25% 0.211 341.1) |
| XYZ | xyz(32.2939, 17.9968, 35.9484) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.37
Pinky Purple
#C94CBE
ΔE00 5.85
Mediumvioletred
#C71585
ΔE00 6.31
Purplish Pink
#CE5DAE
ΔE00 7.24
Ugly Purple
#A442A0
ΔE00 7.39
Hot Magenta
#F504C9
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA38A2 #38CA60
analogous
#A938CA #CA38A2 #CA3859
triadic
#CA38A2 #A2CA38 #38A2CA
tetradic
#CA38A2 #CAA938 #38CA60 #3859CA
square
#CA38A2 #CAA938 #38CA60 #3859CA
split-complementary
#CA38A2 #59CA38 #38CAA9
monochromatic
#6B1D56 #9B297C #CA38A2 #D768B9 #E499CF
Accessibility & contrast
On white
4.57
#CA38A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#CA38A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA38A2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA38A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA38A2 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#727E9F
Tritanopia (blue-blind)
#D63B69
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ca38a2; /* rgb */ color: rgb(202, 56, 162); /* oklch */ color: oklch(59.2% 0.211 341.1);
Tailwind
colors: {
custom: {
50: '#de7cbd',
500: '#ca38a2',
950: '#000000',
},
}SCSS
$custom: #ca38a2; $custom-light: #de7cbd; $custom-dark: #000000;
JSON
{
"hex": "#ca38a2",
"rgb": {
"r": 202,
"g": 56,
"b": 162
},
"hsl": {
"h": 316.438,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.59246,
"c": 0.21061,
"h": 341.1
},
"luminance": 0.17994
}Semantic roles & 50–950 ramp
primary
#CA38A2
secondary
#8ECFA0
accent
#E17147
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81