#CA26A1#CA26A1
#CA26A1 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.9% C 0.227 H 340.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CA26A1 |
|---|---|
| RGB | rgb(202, 38, 161) |
| HSL | hsl(315, 68%, 47%) |
| HSV | hsv(315, 81%, 79%) |
| CMYK | cmyk(0%, 81.2%, 20.3%, 20.8%) |
| CIE-LAB | lab(47.65, 71.61, -27.58) |
| CIE-LCH | lch(47.65, 76.74, 338.94°) |
| OKLab | oklab(57.9% 0.2148 -0.0744) |
| OKLCH | oklch(57.9% 0.227 340.9) |
| XYZ | xyz(31.4843, 16.5193, 35.2418) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.93
Mediumvioletred
#C71585
ΔE00 5.36
Ugly Purple
#A442A0
ΔE00 6.92
Pinky Purple
#C94CBE
ΔE00 7.21
Magenta (survey)
#C20078
ΔE00 7.96
Medium Purple
#9E43A2
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA26A1 #26CA4F
analogous
#A126CA #CA26A1 #CA264F
triadic
#CA26A1 #A1CA26 #26A1CA
tetradic
#CA26A1 #CAA126 #26CA4F #264FCA
square
#CA26A1 #CAA126 #26CA4F #264FCA
split-complementary
#CA26A1 #4FCA26 #26CAA1
monochromatic
#63134F #961C78 #CA26A1 #DE4FBA #E883CE
Accessibility & contrast
On white
4.88
#CA26A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#CA26A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA26A1
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA26A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA26A1 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#6D7A9D
Tritanopia (blue-blind)
#D72B63
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ca26a1; /* rgb */ color: rgb(202, 38, 161); /* oklch */ color: oklch(57.9% 0.227 340.9);
Tailwind
colors: {
custom: {
50: '#df75bd',
500: '#ca26a1',
950: '#000000',
},
}SCSS
$custom: #ca26a1; $custom-light: #df75bd; $custom-dark: #000000;
JSON
{
"hex": "#ca26a1",
"rgb": {
"r": 202,
"g": 38,
"b": 161
},
"hsl": {
"h": 315,
"s": 68.333,
"l": 47.059
},
"oklch": {
"l": 0.57899,
"c": 0.22734,
"h": 340.9
},
"luminance": 0.16516
}Semantic roles & 50–950 ramp
primary
#CA26A1
secondary
#7BD191
accent
#EB683D
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81