#CF528A#CF528A
#CF528A is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.168 H 355.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CF528A |
|---|---|
| RGB | rgb(207, 82, 138) |
| HSL | hsl(333, 57%, 57%) |
| HSV | hsv(333, 60%, 81%) |
| CMYK | cmyk(0%, 60.4%, 33.3%, 18.8%) |
| CIE-LAB | lab(53.10, 54.77, -5.52) |
| CIE-LCH | lch(53.10, 55.05, 354.25°) |
| OKLab | oklab(61.76% 0.1669 -0.0138) |
| OKLCH | oklch(61.76% 0.168 355.3) |
| XYZ | xyz(33.3386, 21.1385, 26.3642) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.94
Blush
#DE5D83
ΔE00 6.18
Dark Pink
#CB416B
ΔE00 7.25
Pale Magenta
#D767AD
ΔE00 7.71
Deeppink
#FF1493
ΔE00 7.72
Electric Pink
#FF0490
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF528A #52CF97
analogous
#CF52C9 #CF528A #CF5952
triadic
#CF528A #8ACF52 #528ACF
tetradic
#CF528A #C9CF52 #52CF97 #5952CF
square
#CF528A #C9CF52 #52CF97 #5952CF
split-complementary
#CF528A #52CF59 #52C9CF
monochromatic
#82244E #B2316B #CF528A #DC82AA #EAB2CB
Accessibility & contrast
On white
4.02
#CF528A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#CF528A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF528A
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF528A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF528A | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66708C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DE4968
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf528a; /* rgb */ color: rgb(207, 82, 138); /* oklch */ color: oklch(61.8% 0.168 355.3);
Tailwind
colors: {
custom: {
50: '#e189ac',
500: '#cf528a',
950: '#000000',
},
}SCSS
$custom: #cf528a; $custom-light: #e189ac; $custom-dark: #000000;
JSON
{
"hex": "#cf528a",
"rgb": {
"r": 207,
"g": 82,
"b": 138
},
"hsl": {
"h": 333.12,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.61762,
"c": 0.16752,
"h": 355.3
},
"luminance": 0.21135
}Semantic roles & 50–950 ramp
primary
#CF528A
secondary
#A5D8C1
accent
#E09C48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F