#CF52B2#CF52B2
#CF52B2 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.191 H 337.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CF52B2 |
|---|---|
| RGB | rgb(207, 82, 178) |
| HSL | hsl(314, 57%, 57%) |
| HSV | hsv(314, 60%, 81%) |
| CMYK | cmyk(0%, 60.4%, 14%, 18.8%) |
| CIE-LAB | lab(54.57, 60.19, -26.77) |
| CIE-LCH | lch(54.57, 65.87, 336.02°) |
| OKLab | oklab(63.33% 0.1769 -0.0724) |
| OKLCH | oklch(63.33% 0.191 337.7) |
| XYZ | xyz(36.7858, 22.5174, 44.5197) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.53
Pinky Purple
#C94CBE
ΔE00 3.50
Purpleish Pink
#DF4EC8
ΔE00 4.06
Purpley Pink
#C83CB9
ΔE00 5.22
Pale Magenta
#D767AD
ΔE00 5.87
Pinkish Purple
#D648D7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF52B2 #52CF6F
analogous
#AE52CF #CF52B2 #CF5274
triadic
#CF52B2 #B2CF52 #52B2CF
tetradic
#CF52B2 #CFAE52 #52CF6F #5274CF
square
#CF52B2 #CFAE52 #52CF6F #5274CF
split-complementary
#CF52B2 #74CF52 #52CFAE
monochromatic
#82246D #B23194 #CF52B2 #DC82C7 #EAB2DD
Accessibility & contrast
On white
3.82
#CF52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#CF52B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF52B2
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF52B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF52B2 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#D9577B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #cf52b2; /* rgb */ color: rgb(207, 82, 178); /* oklch */ color: oklch(63.3% 0.191 337.7);
Tailwind
colors: {
custom: {
50: '#e18ac9',
500: '#cf52b2',
950: '#000000',
},
}SCSS
$custom: #cf52b2; $custom-light: #e18ac9; $custom-dark: #000000;
JSON
{
"hex": "#cf52b2",
"rgb": {
"r": 207,
"g": 82,
"b": 178
},
"hsl": {
"h": 313.92,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.6333,
"c": 0.19112,
"h": 337.7
},
"luminance": 0.22514
}Semantic roles & 50–950 ramp
primary
#CF52B2
secondary
#A5D8B1
accent
#E06B48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82