#CF528B#CF528B
#CF528B is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.8% C 0.168 H 354.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CF528B |
|---|---|
| RGB | rgb(207, 82, 139) |
| HSL | hsl(333, 57%, 57%) |
| HSV | hsv(333, 60%, 81%) |
| CMYK | cmyk(0%, 60.4%, 32.9%, 18.8%) |
| CIE-LAB | lab(53.13, 54.89, -6.06) |
| CIE-LCH | lch(53.13, 55.22, 353.70°) |
| OKLab | oklab(61.8% 0.1673 -0.0153) |
| OKLCH | oklch(61.8% 0.168 354.8) |
| XYZ | xyz(33.4113, 21.1676, 26.7473) |
| Luminance | 0.2116 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.15
Blush
#DE5D83
ΔE00 6.36
Dark Pink
#CB416B
ΔE00 7.47
Pale Magenta
#D767AD
ΔE00 7.53
Purplish Pink
#CE5DAE
ΔE00 7.62
Deeppink
#FF1493
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF528B #52CF96
analogous
#CF52CA #CF528B #CF5852
triadic
#CF528B #8BCF52 #528BCF
tetradic
#CF528B #CACF52 #52CF96 #5852CF
square
#CF528B #CACF52 #52CF96 #5852CF
split-complementary
#CF528B #52CF58 #52CACF
monochromatic
#82244F #B2316C #CF528B #DC82AB #EAB2CB
Accessibility & contrast
On white
4.01
#CF528B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#CF528B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF528B
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF528B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF528B | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 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)
#65708D
Deuteranopia (green-blind)
#878788
Tritanopia (blue-blind)
#DE4A68
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf528b; /* rgb */ color: rgb(207, 82, 139); /* oklch */ color: oklch(61.8% 0.168 354.8);
Tailwind
colors: {
custom: {
50: '#e189ac',
500: '#cf528b',
950: '#000000',
},
}SCSS
$custom: #cf528b; $custom-light: #e189ac; $custom-dark: #000000;
JSON
{
"hex": "#cf528b",
"rgb": {
"r": 207,
"g": 82,
"b": 139
},
"hsl": {
"h": 332.64,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.61796,
"c": 0.16796,
"h": 354.8
},
"luminance": 0.21164
}Semantic roles & 50–950 ramp
primary
#CF528B
secondary
#A5D8C1
accent
#E09B48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F